mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Deprecated get_app().
This commit is contained in:
parent
2732edc5f2
commit
69039becde
13 changed files with 55 additions and 62 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue