diff options
author | Doug Ellwanger <doug@nunahealth.com> | 2015-03-18 16:02:04 -0700 |
---|---|---|
committer | Doug Ellwanger <doug@nunahealth.com> | 2015-03-18 16:02:04 -0700 |
commit | 6e9f8a7fffad1bced211904d9119ccb8edbbf3ab (patch) | |
tree | 587830c4d4e070a59fa9143ecb026ff0728f14a9 /tests | |
parent | 7ba973efdf90ff31532e7b0fcdd97e224cba0baf (diff) | |
download | boto-6e9f8a7fffad1bced211904d9119ccb8edbbf3ab.tar.gz |
Fix KMS in Python 3
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/kms/test_kms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/kms/test_kms.py b/tests/unit/kms/test_kms.py index c46e831a..059e3bf3 100644 --- a/tests/unit/kms/test_kms.py +++ b/tests/unit/kms/test_kms.py @@ -39,7 +39,7 @@ class TestKinesis(AWSMockServiceTestCase): self.set_http_response(status_code=200) data = b'\x00\x01\x02\x03\x04\x05' self.service_connection.encrypt(key_id='foo', plaintext=data) - body = json.loads(self.actual_request.body) + body = json.loads(self.actual_request.body.decode('utf-8')) self.assertEqual(body['Plaintext'], 'AAECAwQF') def test_non_binary_input_for_blobs_fails(self): |