mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-29 13:03:56 +03:00
add notice to failing tests
This commit is contained in:
parent
4e32dac251
commit
b4be4a686b
|
@ -175,6 +175,11 @@ class TestUnforgivingExecutionContext:
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
def test_unexpected_error(self, field, exception, schema):
|
def test_unexpected_error(self, field, exception, schema):
|
||||||
|
# FIXME: tests are failing currently because no exception
|
||||||
|
# is being raised below. Instead, the errors are being propagated
|
||||||
|
# to the `errors` array of the response. If this is intended
|
||||||
|
# behaviour, we need to check if the error exists in the `errors`
|
||||||
|
# array rather than checking if an exception is raised.
|
||||||
with raises(exception):
|
with raises(exception):
|
||||||
# no result, but the exception should be propagated
|
# no result, but the exception should be propagated
|
||||||
schema.execute(
|
schema.execute(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user