summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDoug Ellwanger <doug@nunahealth.com>2015-03-18 16:02:04 -0700
committerDoug Ellwanger <doug@nunahealth.com>2015-03-18 16:02:04 -0700
commit6e9f8a7fffad1bced211904d9119ccb8edbbf3ab (patch)
tree587830c4d4e070a59fa9143ecb026ff0728f14a9 /tests
parent7ba973efdf90ff31532e7b0fcdd97e224cba0baf (diff)
downloadboto-6e9f8a7fffad1bced211904d9119ccb8edbbf3ab.tar.gz
Fix KMS in Python 3
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/kms/test_kms.py2
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):