Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Commit 21c9be1

Browse files
committed
Fix test_token_refresh_store_expires_soon for Python3
1 parent 0cef592 commit 21c9be1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_file.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ def test_token_refresh_store_expires_soon(self):
154154
access_token = '1/3w'
155155
token_response = {'access_token': access_token, 'expires_in': 3600}
156156
http = HttpMockSequence([
157-
({'status': '401'}, 'Initial token expired'),
158-
({'status': '401'}, 'Store token expired'),
157+
({'status': '401'}, b'Initial token expired'),
158+
({'status': '401'}, b'Store token expired'),
159159
({'status': '200'}, json.dumps(token_response).encode('utf-8')),
160-
({'status': '200'}, 'Valid response to original request')
160+
({'status': '200'}, b'Valid response to original request')
161161
])
162162

163163
credentials.authorize(http)

0 commit comments

Comments
 (0)