Fix reference of get_test_app->get_app in test_modelmethods
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 25 Jan 2013 18:10:27 +0000 (12:10 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 25 Jan 2013 18:10:27 +0000 (12:10 -0600)
(This changed in master while this test was being written; correcting
post-merge.)

mediagoblin/tests/test_modelmethods.py

index 4f2df19b96df8b4c26bcc922cd794a2900c4c1e5..c1064d3ae2c06b44d75696fc5389ccf68d635cc5 100644 (file)
@@ -20,7 +20,7 @@
 
 from mediagoblin.db.models import MediaEntry
 
-from mediagoblin.tests.tools import get_test_app, \
+from mediagoblin.tests.tools import get_app, \
     fixture_add_user
 
 import mock
@@ -34,7 +34,7 @@ UUID_MOCK = mock.Mock(return_value=FakeUUID())
 
 class TestMediaEntrySlugs(object):
     def setUp(self):
-        self.test_app = get_test_app(dump_old_app=True)
+        self.test_app = get_app(dump_old_app=True)
         self.chris_user = fixture_add_user(u'chris')
         self.emily_user = fixture_add_user(u'emily')
         self.existing_entry = self._insert_media_entry_fixture(