aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_mongoengine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_mongoengine.py b/tests/test_mongoengine.py
index 1cf0cb5..6fa4125 100644
--- a/tests/test_mongoengine.py
+++ b/tests/test_mongoengine.py
@@ -73,7 +73,7 @@ class MongoEngineTestCase(unittest.TestCase):
# PyMongo>=2.1 requires an explicit read_preference.
read_preference=mongo_rp.ReadPreference.PRIMARY,
# PyMongo>=2.1 has a 20s timeout, use 100ms instead
- serverselectiontimeoutms=cls.MONGOD_TIMEOUT_MS,
+ serverselectiontimeoutms=cls.server_timeout_ms,
)
@classmethod