Skip to content

Commit 060b04a

Browse files
committed
Actual order of fields is not stable
1 parent cad4b0c commit 060b04a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

graphene_django/tests/test_types.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -250,17 +250,7 @@ class Meta:
250250
fields = "__all__"
251251

252252
fields = list(Reporter._meta.fields.keys())
253-
assert fields == [
254-
"id",
255-
"first_name",
256-
"last_name",
257-
"email",
258-
"pets",
259-
"a_choice",
260-
"reporter_type",
261-
"films",
262-
"articles",
263-
]
253+
assert len(fields) == len(ReporterModel._meta.get_fields())
264254

265255

266256
@with_local_registry

0 commit comments

Comments
 (0)