Skip to content

Commit 777f145

Browse files
author
Dave Mun
committed
Update test_archive_api.py tests
1 parent 96a745a commit 777f145

File tree

4 files changed

+150
-150
lines changed

4 files changed

+150
-150
lines changed

opentok/opentok.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def _create_jwt_auth_header(self):
453453
'iss': self.api_key,
454454
'iat': int(time.time()), # current time in unix time (seconds)
455455
'exp': int(time.time()) + (60*3), # 3 minutes in the future (seconds)
456-
'jti': '{:f}'.format(random.random())
456+
'jti': '{0}'.format(0, random.random())
457457
}
458458

459459
return jwt.encode(payload, self.api_secret, algorithm='HS256')

test_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
nose
22
httpretty
3-
sure
3+
expects
44
wheel

0 commit comments

Comments
 (0)