File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 10
10
import warnings
11
11
12
12
13
- PYMONGO_VERSION = tuple (map (int , pymongo .version .split ("." )))
14
-
15
-
16
13
class CustomDict (dict ):
17
14
pass
18
15
@@ -179,7 +176,6 @@ def test_uri_prioritised_over_host_and_port(self):
179
176
assert mongo .db .name == 'database_name'
180
177
181
178
182
- @unittest .skipIf (PYMONGO_VERSION < (2 , 8 ), "missing auth mechanism causes exceptions in older pymongos" )
183
179
def test_missing_auth_mechanism_in_nonprefixed_config (self ):
184
180
self .app .config ["MONGO_HOST" ] = 'localhost'
185
181
self .app .config ["MONGO_PORT" ] = self .port
@@ -200,7 +196,6 @@ def test_missing_auth_mechanism_in_nonprefixed_config(self):
200
196
assert mongo .cx .port == self .port
201
197
202
198
203
- @unittest .skipIf (PYMONGO_VERSION < (2 , 8 ), "missing auth mechanism causes exceptions in older pymongos" )
204
199
def test_missing_auth_mechanism_in_prefixed_config (self ):
205
200
self .app .config ["CUSTOM_MONGO_HOST" ] = 'localhost'
206
201
self .app .config ["CUSTOM_MONGO_PORT" ] = self .port
You can’t perform that action at this time.
0 commit comments