Deprecated get_app().

This commit is contained in:
Aymeric Augustin 2013-12-14 11:11:52 +01:00
parent 2732edc5f2
commit 69039becde
13 changed files with 55 additions and 62 deletions

View file

@ -20,7 +20,7 @@ class SuiteOverrideTest(IgnoreAllDeprecationWarningsMixin, unittest.TestCase):
"""
from django.test.simple import build_suite
app = app_cache.get_app("test_suite_override")
app = app_cache.get_app_config("test_suite_override").models_module
suite = build_suite(app)
self.assertEqual(suite.countTestCases(), 1)