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 27
27
from test import unittest
28
28
from test .helpers import clear_warning_registry
29
29
30
- from pymongo .common import INTERNAL_URI_OPTION_NAME_MAP , validate
30
+ from pymongo .common import INTERNAL_URI_OPTION_NAME_MAP , _CaseInsensitiveDictionary , validate
31
31
from pymongo .compression_support import _have_snappy
32
32
from pymongo .synchronous .uri_parser import parse_uri
33
33
@@ -169,7 +169,8 @@ def run_scenario(self):
169
169
# Compare URI options.
170
170
err_msg = "For option %s expected %s but got %s"
171
171
if test ["options" ]:
172
- opts = options ["options" ]
172
+ opts = _CaseInsensitiveDictionary ()
173
+ opts .update (options ["options" ])
173
174
for opt in test ["options" ]:
174
175
lopt = opt .lower ()
175
176
optname = INTERNAL_URI_OPTION_NAME_MAP .get (lopt , lopt )
You can’t perform that action at this time.
0 commit comments