--- a/Allura/allura/tests/test_commands.py
+++ b/Allura/allura/tests/test_commands.py
@@ -13,7 +13,7 @@
 from allura.tests import helpers
 
 test_config = '%s#main' % (
-    environ.get('SANDBOX') and 'sandbox-test.ini' or 'test.ini')
+    environ.get('SF_SYSTEM_FUNC') and 'sandbox-test.ini' or 'test.ini')
 
 def setUp(self):
     """Method called by nose before running each test"""