aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_misc.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-05-16 17:51:21 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-05-16 17:51:21 -0500
commit0536306048daa0970d2e43411ba2a9bf073e570e (patch)
treecd727904258e3a7c4786151a94350eb4550d0e90 /mediagoblin/tests/test_misc.py
parent0ae38290488e39f2b3d0ec1248f0b78a6dceeba6 (diff)
downloadmediagoblin-0536306048daa0970d2e43411ba2a9bf073e570e.tar.lz
mediagoblin-0536306048daa0970d2e43411ba2a9bf073e570e.tar.xz
mediagoblin-0536306048daa0970d2e43411ba2a9bf073e570e.zip
Always activate testing in every test module ever.
Kind of a dorky way to implement this, but...
Diffstat (limited to 'mediagoblin/tests/test_misc.py')
-rw-r--r--mediagoblin/tests/test_misc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mediagoblin/tests/test_misc.py b/mediagoblin/tests/test_misc.py
index 755d863f..a16ab61d 100644
--- a/mediagoblin/tests/test_misc.py
+++ b/mediagoblin/tests/test_misc.py
@@ -17,6 +17,9 @@
from mediagoblin.db.base import Session
from mediagoblin.db.models import User, MediaEntry, MediaComment
from mediagoblin.tests.tools import fixture_add_user, fixture_media_entry
+from mediagoblin.tools.testing import _activate_testing
+
+_activate_testing()
def test_404_for_non_existent(test_app):