Fix main branch tests failing due to wrong instancing of Missing class

This commit is contained in:
Sebastian Hernandez 2021-02-24 15:27:13 +01:00
parent ea593b673f
commit e9baf609cf
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
class MissingType(object):
pass
def __init__(self, *args, **kwargs):
pass
try:

View File

@ -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):
"""
Check that the type in the filter is an array field like on the object type.