Skip to content

Commit c323406

Browse files
committed
Remove print statement
1 parent 34f5978 commit c323406

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

graphene_django/tests/test_query.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ def resolve_films(self, info, **args):
486486

487487
result = schema.execute(query)
488488
assert not result.errors
489-
print(result.data)
490489
assert result.data == expected
491490

492491

@@ -735,7 +734,7 @@ class Query(graphene.ObjectType):
735734

736735
def resolve_all_reporters(self, info, **args):
737736
return Promise.resolve([Reporter(id=1)])
738-
737+
739738
schema = graphene.Schema(query=Query)
740739
query = '''
741740
query ReporterPromiseConnectionQuery {
@@ -783,7 +782,7 @@ class Query(graphene.ObjectType):
783782

784783
def resolve_all_reporters(self, info, **args):
785784
return Reporter.objects.all()
786-
785+
787786
schema = graphene.Schema(query=Query)
788787
query = '''
789788
query ReporterLastQuery {
@@ -838,7 +837,7 @@ class Query(graphene.ObjectType):
838837

839838
def resolve_all_reporters(self, info, **args):
840839
return Reporter.objects.all()
841-
840+
842841
schema = graphene.Schema(query=Query)
843842
query = '''
844843
query ReporterLastQuery {
@@ -1071,7 +1070,7 @@ def test_proxy_model_fails():
10711070
"""
10721071
This test asserts that if you try to query for a proxy model,
10731072
that query will fail with:
1074-
GraphQLError('Expected value of type "CNNReporterType" but got:
1073+
GraphQLError('Expected value of type "CNNReporterType" but got:
10751074
CNNReporter.',)
10761075
10771076
This is because a proxy model has the identical model definition

0 commit comments

Comments
 (0)