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):
637637 )
638638 assert (
639639 tmp_conn .options .codec_options .uuid_representation
640- == pymongo .common .UuidRepresentation . CSHARP_LEGACY
640+ == pymongo .common ._UUID_REPRESENTATIONS [ "csharpLegacy" ]
641641 )
642642 disconnect (rand )
643643
@@ -646,7 +646,7 @@ def test_connect_uri_uuidrepresentation_set_as_arg(self):
646646 tmp_conn = connect (alias = rand , db = rand , uuidRepresentation = "javaLegacy" )
647647 assert (
648648 tmp_conn .options .codec_options .uuid_representation
649- == pymongo .common .UuidRepresentation . JAVA_LEGACY
649+ == pymongo .common ._UUID_REPRESENTATIONS [ "javaLegacy" ]
650650 )
651651 disconnect (rand )
652652
@@ -659,7 +659,7 @@ def test_connect_uri_uuidrepresentation_set_both_arg_and_uri_arg_prevail(self):
659659 )
660660 assert (
661661 tmp_conn .options .codec_options .uuid_representation
662- == pymongo .common .UuidRepresentation . JAVA_LEGACY
662+ == pymongo .common ._UUID_REPRESENTATIONS [ "javaLegacy" ]
663663 )
664664 disconnect (rand )
665665
@@ -669,7 +669,7 @@ def test_connect_uri_uuidrepresentation_default_to_pythonlegacy(self):
669669 tmp_conn = connect (alias = rand , db = rand )
670670 assert (
671671 tmp_conn .options .codec_options .uuid_representation
672- == pymongo .common .UuidRepresentation . PYTHON_LEGACY
672+ == pymongo .common ._UUID_REPRESENTATIONS [ "pythonLegacy" ]
673673 )
674674 disconnect (rand )
675675
You can’t perform that action at this time.
0 commit comments