diff options
Diffstat (limited to 'tests/app_cache')
| -rw-r--r-- | tests/app_cache/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
