Merge pull request #22038 from edx/awais786/BOM-925

BOM-925
This commit is contained in:
Awais Qureshi
2019-10-15 13:58:59 +05:00
committed by GitHub

View File

@@ -1637,7 +1637,7 @@ class TestSubmitPhotosForVerification(TestCase):
def _get_post_data(self):
"""Retrieve POST data from the last request. """
last_request = moto.packages.httpretty.last_request()
return json.loads(last_request.body)
return json.loads(last_request.body.decode('utf-8'))
class TestPhotoVerificationResultsCallback(ModuleStoreTestCase):