We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64e31aa commit 64ee907Copy full SHA for 64ee907
graphene_sqlalchemy/tests/test_converter.py
@@ -666,8 +666,12 @@ class Meta:
666
True,
667
mock_resolver,
668
)
669
+ dynamic_field_type = dynamic_field.get_type().type
670
assert isinstance(dynamic_field, graphene.Dynamic)
- assert dynamic_field.get_type().type.of_type == ArticleType
671
+ assert isinstance(dynamic_field_type, graphene.NonNull)
672
+ assert isinstance(dynamic_field_type.of_type, graphene.List)
673
+ assert isinstance(dynamic_field_type.of_type.of_type, graphene.NonNull)
674
+ assert dynamic_field_type.of_type.of_type.of_type == ArticleType
675
676
677
def test_should_throw_error_association_proxy_unsupported_target():
0 commit comments