From 033a4491a0283d67ee673f8286aaf2997003adf4 Mon Sep 17 00:00:00 2001 From: Erik Wrede Date: Sat, 13 Aug 2022 14:44:01 +0200 Subject: [PATCH] Fix Test Failure due to #1304 --- graphene/types/tests/test_type_map.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphene/types/tests/test_type_map.py b/graphene/types/tests/test_type_map.py index adddd388..e6abe5a0 100644 --- a/graphene/types/tests/test_type_map.py +++ b/graphene/types/tests/test_type_map.py @@ -303,6 +303,7 @@ def test_interface_with_interfaces(): 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) @@ -317,5 +318,4 @@ def test_interface_with_interfaces(): 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])