File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -1116,35 +1116,6 @@ def fields():
11161116 "SomeInputObject fields cannot be resolved. Oops!"
11171117 )
11181118
1119- def describe_input_objects_fields_must_not_have_resolvers ():
1120- def rejects_an_input_object_type_with_resolvers ():
1121- def resolve ():
1122- pass
1123-
1124- with pytest .raises (
1125- TypeError , match = "got an unexpected keyword argument 'resolve'"
1126- ):
1127- # noinspection PyArgumentList
1128- GraphQLInputObjectType (
1129- "SomeInputObject" ,
1130- {
1131- "f" : GraphQLInputField ( # type: ignore
1132- ScalarType ,
1133- resolve = resolve ,
1134- )
1135- },
1136- )
1137-
1138- def rejects_an_input_object_type_with_resolver_constant ():
1139- with pytest .raises (
1140- TypeError , match = "got an unexpected keyword argument 'resolve'"
1141- ):
1142- # noinspection PyArgumentList
1143- GraphQLInputObjectType (
1144- "SomeInputObject" ,
1145- {"f" : GraphQLInputField (ScalarType , resolve = {})}, # type: ignore
1146- )
1147-
11481119
11491120def describe_type_system_arguments ():
11501121 def accepts_an_argument_with_a_description ():
You can’t perform that action at this time.
0 commit comments