mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 01:26:49 +03:00
Fix Test Failure due to #1304
assert bar_graphql_type.interfaces == [foo_graphql_type] failed only on tox, because .interfaces was a tuple instead of a list. Error didn't occur using just pytest. Fixed by explicitly converting both to list.
This commit is contained in:
parent
c77d87d205
commit
80e3498750
|
@ -318,4 +318,4 @@ def test_interface_with_interfaces():
|
|||
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])
|
||||
|
|
Loading…
Reference in New Issue
Block a user