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 149acbb commit 4ce1c64Copy full SHA for 4ce1c64
graphene_mongo/tests/test_converter.py
@@ -101,7 +101,7 @@ def test_should_multipolygon_convert_field():
101
def test_should_file_convert_field():
102
from ..advanced_types import FsFileType
103
dynamic_field = convert_mongoengine_field(
104
- mongoengine.FileField(), registry.get_global_registry())
+ mongoengine.FileField(), FsFileType._meta.registry)
105
assert isinstance(dynamic_field, graphene.Dynamic)
106
graphene_type = dynamic_field.get_type()
107
assert isinstance(graphene_type, graphene.Field)
0 commit comments