get_test_app() should turn on testing buckets
This commit is contained in:
parent
a656ccd561
commit
0419d0da24
@ -58,6 +58,9 @@ def suicide_if_bad_celery_environ():
|
|||||||
def get_test_app(dump_old_app=True):
|
def get_test_app(dump_old_app=True):
|
||||||
suicide_if_bad_celery_environ()
|
suicide_if_bad_celery_environ()
|
||||||
|
|
||||||
|
# Make sure we've turned on testing
|
||||||
|
util._activate_testing()
|
||||||
|
|
||||||
# Leave this imported as it sets up celery.
|
# Leave this imported as it sets up celery.
|
||||||
from mediagoblin.init.celery import from_tests
|
from mediagoblin.init.celery import from_tests
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user