mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-11 08:42:32 +03:00
Fix main branch tests failing due to wrong instancing of Missing class
This commit is contained in:
parent
ea593b673f
commit
e9baf609cf
|
@ -1,4 +1,5 @@
|
||||||
class MissingType(object):
|
class MissingType(object):
|
||||||
|
def __init__(self, *args, **kwargs):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user