1
0
mirror of https://github.com/django/django.git synced 2025-10-31 01:25:32 +00:00

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)