Skip to content

Commit

Permalink
fix test: byte to unicode conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
myuwono committed Feb 17, 2017
1 parent b0ae583 commit 540b718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unittest/python/test_requests_api_client.py
Expand Up @@ -57,7 +57,7 @@ def test_register_identity(mocker, api_client, keystore, private_key,
assert key2bytes(crypto_key) == key2bytes(private_key)
assert key2bytes(signing_key) == key2bytes(private_key)

request_body = json.loads(responses.calls[0].request.body)
request_body = json.loads(responses.calls[0].request.body.decode("utf-8"))
expected_request_body = dict(
externalId="1",
metadata=dict(),
Expand Down

0 comments on commit 540b718

Please sign in to comment.