Fix main branch tests failing due to wrong instancing of Missing class (#1135)

Co-authored-by: Sebastian Hernandez <sebastian@rhinoafrica.com>
This commit is contained in:
Sebastián Sastoque H 2021-03-02 19:46:35 +01:00 committed by GitHub
parent e9f25ecf2d
commit fe66b48d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
class MissingType(object): class MissingType(object):
pass def __init__(self, *args, **kwargs):
pass
try: 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): 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.