File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -637,7 +637,7 @@ def test_connect_uri_uuidrepresentation_set_in_uri(self):
637
637
)
638
638
assert (
639
639
tmp_conn .options .codec_options .uuid_representation
640
- == pymongo .common .UuidRepresentation . CSHARP_LEGACY
640
+ == pymongo .common ._UUID_REPRESENTATIONS [ "csharpLegacy" ]
641
641
)
642
642
disconnect (rand )
643
643
@@ -646,7 +646,7 @@ def test_connect_uri_uuidrepresentation_set_as_arg(self):
646
646
tmp_conn = connect (alias = rand , db = rand , uuidRepresentation = "javaLegacy" )
647
647
assert (
648
648
tmp_conn .options .codec_options .uuid_representation
649
- == pymongo .common .UuidRepresentation . JAVA_LEGACY
649
+ == pymongo .common ._UUID_REPRESENTATIONS [ "javaLegacy" ]
650
650
)
651
651
disconnect (rand )
652
652
@@ -659,7 +659,7 @@ def test_connect_uri_uuidrepresentation_set_both_arg_and_uri_arg_prevail(self):
659
659
)
660
660
assert (
661
661
tmp_conn .options .codec_options .uuid_representation
662
- == pymongo .common .UuidRepresentation . JAVA_LEGACY
662
+ == pymongo .common ._UUID_REPRESENTATIONS [ "javaLegacy" ]
663
663
)
664
664
disconnect (rand )
665
665
@@ -669,7 +669,7 @@ def test_connect_uri_uuidrepresentation_default_to_pythonlegacy(self):
669
669
tmp_conn = connect (alias = rand , db = rand )
670
670
assert (
671
671
tmp_conn .options .codec_options .uuid_representation
672
- == pymongo .common .UuidRepresentation . PYTHON_LEGACY
672
+ == pymongo .common ._UUID_REPRESENTATIONS [ "pythonLegacy" ]
673
673
)
674
674
disconnect (rand )
675
675
You can’t perform that action at this time.
0 commit comments