@@ -486,7 +486,6 @@ def resolve_films(self, info, **args):
486
486
487
487
result = schema .execute (query )
488
488
assert not result .errors
489
- print (result .data )
490
489
assert result .data == expected
491
490
492
491
@@ -735,7 +734,7 @@ class Query(graphene.ObjectType):
735
734
736
735
def resolve_all_reporters (self , info , ** args ):
737
736
return Promise .resolve ([Reporter (id = 1 )])
738
-
737
+
739
738
schema = graphene .Schema (query = Query )
740
739
query = '''
741
740
query ReporterPromiseConnectionQuery {
@@ -783,7 +782,7 @@ class Query(graphene.ObjectType):
783
782
784
783
def resolve_all_reporters (self , info , ** args ):
785
784
return Reporter .objects .all ()
786
-
785
+
787
786
schema = graphene .Schema (query = Query )
788
787
query = '''
789
788
query ReporterLastQuery {
@@ -838,7 +837,7 @@ class Query(graphene.ObjectType):
838
837
839
838
def resolve_all_reporters (self , info , ** args ):
840
839
return Reporter .objects .all ()
841
-
840
+
842
841
schema = graphene .Schema (query = Query )
843
842
query = '''
844
843
query ReporterLastQuery {
@@ -1071,7 +1070,7 @@ def test_proxy_model_fails():
1071
1070
"""
1072
1071
This test asserts that if you try to query for a proxy model,
1073
1072
that query will fail with:
1074
- GraphQLError('Expected value of type "CNNReporterType" but got:
1073
+ GraphQLError('Expected value of type "CNNReporterType" but got:
1075
1074
CNNReporter.',)
1076
1075
1077
1076
This is because a proxy model has the identical model definition
0 commit comments