Skip to content

Commit

Permalink
test_build_client_schema: output differences
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Oct 11, 2019
1 parent f942af9 commit 1c319c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion graphql/utils/tests/test_build_client_schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from collections import OrderedDict
from pprint import pprint

from pytest import raises

Expand Down Expand Up @@ -35,7 +36,9 @@ def _test_schema(server_schema):
initial_introspection = graphql(server_schema, introspection_query)
client_schema = build_client_schema(initial_introspection.data)
second_introspection = graphql(client_schema, introspection_query)
assert contain_subset(initial_introspection.data, second_introspection.data)
assert contain_subset(
initial_introspection.data, second_introspection.data
), "\n%s\n%s" % (initial_introspection.data, second_introspection.data)

return client_schema

Expand Down

0 comments on commit 1c319c4

Please sign in to comment.