Decode bytes to str for python 3.5 test
@@ -121,7 +121,7 @@ def graphql_query_request_factory(middleware_request):
@pytest.fixture
def assert_json_response_equals_snapshot(snapshot):
def assertion(reponse):
- deserialized_data = json.loads(reponse[0])
+ deserialized_data = json.loads(reponse[0].decode("utf-8"))
snapshot.assert_match(deserialized_data)
return assertion
