We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae3ce29 commit 8f95696Copy full SHA for 8f95696
graphene_sqlalchemy/tests/test_converter.py
@@ -302,7 +302,8 @@ class Meta:
302
assert isinstance(dynamic_field, graphene.Dynamic)
303
graphene_type = dynamic_field.get_type()
304
assert isinstance(graphene_type, graphene.Field)
305
- assert graphene_type.type == graphene.String
+ assert isinstance(graphene_type.type, graphene.List)
306
+ assert graphene_type.type.of_type == graphene.String
307
308
dynamic_field = convert_sqlalchemy_association_proxy(
309
Article.reporter_pets,
@@ -312,7 +313,6 @@ class Meta:
312
313
True,
314
mock_resolver,
315
)
- assert isinstance(dynamic_field.get_type().type, graphene.List)
316
assert dynamic_field.get_type().type.of_type == P
317
318
0 commit comments