diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-14 09:50:28 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-17 10:17:45 +0100 |
| commit | d44de9b933fb7d987d814034769a1ba2eda6545c (patch) | |
| tree | d42c4978888074efbb806d45a34fb822a73d0215 /tests | |
| parent | ebda5800aeef3f3158b53aa28b3d503bc972a9a7 (diff) | |
Removed the _-prefix for populate().
Several parts of Django call get_apps() with a comment along this lines
of "this has the side effect of calling _populate()". I fail to see how
this is better than just calling populate()!
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/runtests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.py b/tests/runtests.py index 9ef81f8877..c294664c31 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -128,7 +128,7 @@ def setup(verbosity, test_labels): # Load all the ALWAYS_INSTALLED_APPS. with warnings.catch_warnings(): warnings.filterwarnings('ignore', 'django.contrib.comments is deprecated and will be removed before Django 1.8.', DeprecationWarning) - app_cache.get_apps() + app_cache.populate() # Load all the test model apps. test_modules = get_test_modules() |
