diff --git a/lms/envs/bok_choy.py b/lms/envs/bok_choy.py
index ebb5f544d73923930d581573e70a800f68fa6a7e..a0f18b61051049d1d793fa86a82d25dc7eefdd08 100644
--- a/lms/envs/bok_choy.py
+++ b/lms/envs/bok_choy.py
@@ -23,8 +23,6 @@ from path import Path as path
 
 from openedx.core.release import RELEASE_LINE
 
-from .production import *  # pylint: disable=wildcard-import, unused-wildcard-import, wrong-import-position
-
 CONFIG_ROOT = path(__file__).abspath().dirname()
 TEST_ROOT = CONFIG_ROOT.dirname().dirname() / "test_root"
 
@@ -39,6 +37,9 @@ os.environ['CONFIG_ROOT'] = CONFIG_ROOT
 os.environ['LMS_CFG'] = str.format("{config_root}/{service_variant}.yml",
                                    config_root=os.environ['CONFIG_ROOT'], service_variant=os.environ['SERVICE_VARIANT'])
 
+from .production import *  # pylint: disable=wildcard-import, unused-wildcard-import, wrong-import-position
+
+
 ######################### Testing overrides ####################################
 
 # Redirect to the test_root folder within the repo