--- a/Allura/allura/tests/helpers.py
+++ b/Allura/allura/tests/helpers.py
@@ -15,12 +15,12 @@
 from allura import model as M
 from allura.lib.custom_middleware import environ as ENV, MagicalC
 
-DFL_CONFIG = environ.get('SANDBOX') and 'sandbox-test.ini' or 'test.ini'
+DFL_CONFIG = environ.get('SF_SYSTEM_FUNC') and 'sandbox-test.ini' or 'test.ini'
 DFL_APP_NAME = 'main_without_authn'
 
 
 def run_app_setup():
-    test_config = environ.get('SANDBOX') and 'sandbox-test.ini' or 'test.ini'
+    test_config = environ.get('SF_SYSTEM_FUNC') and 'sandbox-test.ini' or 'test.ini'
     conf_dir = tg.config.here = path.abspath(
         path.dirname(__file__) + '/../..')
     test_file = path.join(conf_dir, test_config)