76
76
def test_parse_operation_field_returns_optional_annotation_if_given_nullable_directive (
77
77
directive , type_ , expected_annotation
78
78
):
79
- annotation , _ = parse_operation_field (
79
+ annotation , _ , _ = parse_operation_field (
80
80
schema = GraphQLSchema (),
81
81
field = FieldNode (),
82
82
type_ = type_ ,
@@ -92,7 +92,7 @@ def test_parse_operation_field_returns_typename_annotation_with_multiple_values(
92
92
slice = ast .Tuple (elts = [ast .Name (id = '"TypeA"' ), ast .Name (id = '"TypeB"' )]),
93
93
)
94
94
95
- annotation , _ = parse_operation_field (
95
+ annotation , _ , _ = parse_operation_field (
96
96
schema = GraphQLSchema (),
97
97
field = FieldNode (name = NameNode (value = TYPENAME_FIELD_NAME )),
98
98
type_ = GraphQLNonNull (GraphQLScalarType ("String" )),
@@ -107,7 +107,7 @@ def test_parse_operation_field_returns_typename_annotation_with_single_value():
107
107
value = ast .Name (id = LITERAL ), slice = ast .Name (id = '"TypeA"' )
108
108
)
109
109
110
- annotation , _ = parse_operation_field (
110
+ annotation , _ , _ = parse_operation_field (
111
111
schema = GraphQLSchema (),
112
112
field = FieldNode (name = NameNode (value = TYPENAME_FIELD_NAME )),
113
113
type_ = GraphQLNonNull (GraphQLScalarType ("String" )),
@@ -145,7 +145,7 @@ def test_parse_operation_field_returns_annotation_with_annotated_nested_unions()
145
145
),
146
146
)
147
147
148
- annotation , _ = parse_operation_field (
148
+ annotation , _ , _ = parse_operation_field (
149
149
schema = GraphQLSchema (),
150
150
field = FieldNode (name = NameNode (value = "unionField" )),
151
151
type_ = GraphQLUnionType (
0 commit comments