File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2727from test import unittest
2828from test .helpers import clear_warning_registry
2929
30- from pymongo .common import INTERNAL_URI_OPTION_NAME_MAP , validate
30+ from pymongo .common import INTERNAL_URI_OPTION_NAME_MAP , _CaseInsensitiveDictionary , validate
3131from pymongo .compression_support import _have_snappy
3232from pymongo .synchronous .uri_parser import parse_uri
3333
@@ -169,7 +169,8 @@ def run_scenario(self):
169169 # Compare URI options.
170170 err_msg = "For option %s expected %s but got %s"
171171 if test ["options" ]:
172- opts = options ["options" ]
172+ opts = _CaseInsensitiveDictionary ()
173+ opts .update (options ["options" ])
173174 for opt in test ["options" ]:
174175 lopt = opt .lower ()
175176 optname = INTERNAL_URI_OPTION_NAME_MAP .get (lopt , lopt )
You can’t perform that action at this time.
0 commit comments