summaryrefslogtreecommitdiff
path: root/tests/unit/kms/test_kms.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/kms/test_kms.py')
-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):