Skip to content

Commit d444a2d

Browse files
committed
test(Authorization): Compare strings for python 2.x and 3.x
1 parent 332db35 commit d444a2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/test_authorization_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ def test_request_token():
1414
password='yyy')
1515
authorization.get_token(url=watson_developer_cloud.SpeechToTextV1.default_url)
1616
assert responses.calls[0].request.url == url
17-
assert responses.calls[0].response.content == 'mocked token'
17+
assert responses.calls[0].response.content.decode('utf-8') == 'mocked token'

0 commit comments

Comments
 (0)