From 69039becde74308d6218c72c1e410cd0049fd2bd Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 14 Dec 2013 11:11:52 +0100 Subject: Deprecated get_app(). --- tests/app_cache/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/app_cache') diff --git a/tests/app_cache/tests.py b/tests/app_cache/tests.py index cc3637367b..484998232e 100644 --- a/tests/app_cache/tests.py +++ b/tests/app_cache/tests.py @@ -27,7 +27,7 @@ class AppCacheTests(TestCase): """ Makes a new model at runtime and ensures it goes into the right place. """ - old_models = app_cache.get_models(app_cache.get_app("app_cache")) + old_models = app_cache.get_models(app_cache.get_app_config("app_cache").models_module) # Construct a new model in a new app cache body = {} new_app_cache = BaseAppCache() @@ -42,6 +42,6 @@ class AppCacheTests(TestCase): # Make sure it appeared in the right place! self.assertEqual( old_models, - app_cache.get_models(app_cache.get_app("app_cache")), + app_cache.get_models(app_cache.get_app_config("app_cache").models_module), ) self.assertEqual(new_app_cache.get_model("app_cache", "SouthPonies"), temp_model) -- cgit v1.3