Skip to content

Commit b4be4a6

Browse files
committed
add notice to failing tests
1 parent 4e32dac commit b4be4a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

graphene/types/tests/test_schema.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ def test_nested_graphql_error(self, schema):
175175
],
176176
)
177177
def test_unexpected_error(self, field, exception, schema):
178+
# FIXME: tests are failing currently because no exception
179+
# is being raised below. Instead, the errors are being propagated
180+
# to the `errors` array of the response. If this is intended
181+
# behaviour, we need to check if the error exists in the `errors`
182+
# array rather than checking if an exception is raised.
178183
with raises(exception):
179184
# no result, but the exception should be propagated
180185
schema.execute(

0 commit comments

Comments
 (0)