chore: remove bok choy settings

This commit is contained in:
salman2013
2023-09-27 10:58:37 +05:00
parent 8c9232ace9
commit 42ca0ddec4
33 changed files with 28 additions and 2500 deletions

View File

@@ -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)