chore: remove bok choy settings
This commit is contained in:
@@ -3,7 +3,6 @@ Tests for methods defined in mongo_utils.py
|
||||
"""
|
||||
|
||||
|
||||
import os
|
||||
from unittest import TestCase
|
||||
from uuid import uuid4
|
||||
|
||||
@@ -29,7 +28,7 @@ class MongoUtilsTests(TestCase):
|
||||
"""
|
||||
Test that read_preference parameter gets converted to a valid pymongo read preference.
|
||||
"""
|
||||
host = 'edx.devstack.mongo' if 'BOK_CHOY_HOSTNAME' in os.environ else 'localhost'
|
||||
host = 'localhost'
|
||||
db = 'test_read_preference_%s' % uuid4().hex
|
||||
# Support for read_preference given in constant name form (ie. PRIMARY, SECONDARY_PREFERRED)
|
||||
connection = connect_to_mongodb(db, host, read_preference=enum_name)
|
||||
|
||||
Reference in New Issue
Block a user