diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-04-03 14:32:35 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-04-03 14:32:35 -0500 |
commit | cb1454408299afed5376b15c004e0e2170280a05 (patch) | |
tree | 9caf52678f68258a80923a57a87ee74efc776747 /mediagoblin/tests/test_modelmethods.py | |
parent | 958080be1673bc654adad03abc93a2d7d05c1386 (diff) | |
download | mediagoblin-cb1454408299afed5376b15c004e0e2170280a05.tar.lz mediagoblin-cb1454408299afed5376b15c004e0e2170280a05.tar.xz mediagoblin-cb1454408299afed5376b15c004e0e2170280a05.zip |
These tests need to have a MediaGoblin app setup so they can connect to the db!
Thanks to py.test --boxed for helping discover that ;)
Diffstat (limited to 'mediagoblin/tests/test_modelmethods.py')
-rw-r--r-- | mediagoblin/tests/test_modelmethods.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mediagoblin/tests/test_modelmethods.py b/mediagoblin/tests/test_modelmethods.py index 18f90bdc..808aa9f2 100644 --- a/mediagoblin/tests/test_modelmethods.py +++ b/mediagoblin/tests/test_modelmethods.py @@ -133,6 +133,7 @@ class TestMediaEntrySlugs(object): def test_media_data_init(): + get_app() # gotta init the db and etc Session.rollback() Session.remove() media = MediaEntry() |