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:
		| @@ -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) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user