mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-10 16:22:20 +03:00
Fix tests
This commit is contained in:
parent
01e4a61dd9
commit
5804654f65
|
@ -81,6 +81,7 @@ def test_array_field_exact_empty_list(Query):
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(ArrayField is MissingType, reason="ArrayField should exist")
|
||||||
def test_array_field_filter_schema_type(Query):
|
def test_array_field_filter_schema_type(Query):
|
||||||
"""
|
"""
|
||||||
Check that the type in the filter is an array field like on the object type.
|
Check that the type in the filter is an array field like on the object type.
|
||||||
|
|
|
@ -46,7 +46,7 @@ def test_generate_graphql_file_on_call_graphql_schema():
|
||||||
open_mock.assert_called_once()
|
open_mock.assert_called_once()
|
||||||
|
|
||||||
handle = open_mock()
|
handle = open_mock()
|
||||||
assert handle.write.called_once()
|
handle.write.assert_called_once()
|
||||||
|
|
||||||
schema_output = handle.write.call_args[0][0]
|
schema_output = handle.write.call_args[0][0]
|
||||||
assert schema_output == dedent(
|
assert schema_output == dedent(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user