diff --git a/graphene_django/tests/test_types.py b/graphene_django/tests/test_types.py index c74a6b9..ced0bfc 100644 --- a/graphene_django/tests/test_types.py +++ b/graphene_django/tests/test_types.py @@ -250,17 +250,7 @@ def test_django_objecttype_all_fields(): fields = "__all__" fields = list(Reporter._meta.fields.keys()) - assert fields == [ - "id", - "first_name", - "last_name", - "email", - "pets", - "a_choice", - "reporter_type", - "films", - "articles", - ] + assert len(fields) == len(ReporterModel._meta.get_fields()) @with_local_registry