Skip to content

Commit 41ef80f

Browse files
committed
Remove unused fragment in queries in unit tests
Related GraphQL-js commit: graphql/graphql-js@cbded82
1 parent 675f01a commit 41ef80f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

graphql/execution/tests/test_directives.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ def test_if_false_omits_inline_fragment():
121121
b
122122
}
123123
}
124-
fragment Frag on TestType {
125-
b
126-
}
127124
'''
128125
result = execute_test_query(q)
129126
assert not result.errors
@@ -138,9 +135,6 @@ def test_if_true_includes_inline_fragment():
138135
b
139136
}
140137
}
141-
fragment Frag on TestType {
142-
b
143-
}
144138
'''
145139
result = execute_test_query(q)
146140
assert not result.errors
@@ -155,9 +149,6 @@ def test_skip_false_includes_inline_fragment():
155149
b
156150
}
157151
}
158-
fragment Frag on TestType {
159-
b
160-
}
161152
'''
162153
result = execute_test_query(q)
163154
assert not result.errors
@@ -172,9 +163,6 @@ def test_skip_true_omits_inline_fragment():
172163
b
173164
}
174165
}
175-
fragment Frag on TestType {
176-
b
177-
}
178166
'''
179167
result = execute_test_query(q)
180168
assert not result.errors

0 commit comments

Comments
 (0)