aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-08-01 09:11:14 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-08-01 09:11:14 -0500
commit0419d0da24f44ce1fa1c1b8478067c76fc870085 (patch)
tree333b4dfff2ff81f85ee1ffa5077365ddc1bbf9f2
parenta656ccd561a1ac735e3256748016646a7d5576c3 (diff)
downloadmediagoblin-0419d0da24f44ce1fa1c1b8478067c76fc870085.tar.lz
mediagoblin-0419d0da24f44ce1fa1c1b8478067c76fc870085.tar.xz
mediagoblin-0419d0da24f44ce1fa1c1b8478067c76fc870085.zip
get_test_app() should turn on testing buckets
-rw-r--r--mediagoblin/tests/tools.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mediagoblin/tests/tools.py b/mediagoblin/tests/tools.py
index 4b61f259..ab14c21e 100644
--- a/mediagoblin/tests/tools.py
+++ b/mediagoblin/tests/tools.py
@@ -58,6 +58,9 @@ def suicide_if_bad_celery_environ():
def get_test_app(dump_old_app=True):
suicide_if_bad_celery_environ()
+ # Make sure we've turned on testing
+ util._activate_testing()
+
# Leave this imported as it sets up celery.
from mediagoblin.init.celery import from_tests