Skip to content

Commit

Permalink
Fix Test Failure due to graphql-python#1304
Browse files Browse the repository at this point in the history
  • Loading branch information
erikwrede committed Aug 13, 2022
1 parent 2e44cb0 commit 033a449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphene/types/tests/test_type_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ class Meta:
bar = String()

type_map = create_type_map([FooInterface, BarInterface])

assert "FooInterface" in type_map
foo_graphql_type = type_map["FooInterface"]
assert isinstance(foo_graphql_type, GraphQLInterfaceType)
Expand All @@ -317,5 +318,4 @@ class Meta:
assert list(fields) == ["foo", "bar"]
assert isinstance(fields["foo"], GraphQLField)
assert isinstance(fields["bar"], GraphQLField)

assert bar_graphql_type.interfaces == [foo_graphql_type]
assert list(bar_graphql_type.interfaces) == list([foo_graphql_type])

0 comments on commit 033a449

Please sign in to comment.