diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-19 22:33:46 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-22 11:39:18 +0100 |
| commit | 2239081ff16aab1eaafea003433f7139bf13e097 (patch) | |
| tree | 373ddb3cf271c77d8baf0e4fd22fcc9f0d5f4d92 /tests/staticfiles_tests | |
| parent | 9cdf1f6d547b6dffcee26f0a525429452551bb4a (diff) | |
Expurged INSTALLED_APPS from code and tests.
Except the app cache code and a few specific tests, of course.
Diffstat (limited to 'tests/staticfiles_tests')
| -rw-r--r-- | tests/staticfiles_tests/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/staticfiles_tests/tests.py b/tests/staticfiles_tests/tests.py index f5d871587c..3ad8249e76 100644 --- a/tests/staticfiles_tests/tests.py +++ b/tests/staticfiles_tests/tests.py @@ -298,7 +298,7 @@ class TestCollectionDryRun(CollectionTestCase, TestNoFilesCreated): class TestCollectionFilesOverride(CollectionTestCase): """ Test overriding duplicated files by ``collectstatic`` management command. - Check for proper handling of apps order in INSTALLED_APPS even if file modification + Check for proper handling of apps order in installed apps even if file modification dates are in different order: 'staticfiles_tests.apps.test', @@ -314,7 +314,7 @@ class TestCollectionFilesOverride(CollectionTestCase): # prepare duplicate of file2.txt from no_label app # this file will have modification time older than no_label/static/file2.txt # anyway it should be taken to STATIC_ROOT because 'test' app is before - # 'no_label' app in INSTALLED_APPS + # 'no_label' app in installed apps self.testfile_path = os.path.join(TEST_ROOT, 'apps', 'test', 'static', 'file2.txt') with open(self.testfile_path, 'w+') as f: f.write('duplicate of file2.txt') @@ -340,7 +340,7 @@ class TestCollectionFilesOverride(CollectionTestCase): self.assertFileContains('file2.txt', 'duplicate of file2.txt') # and now change modification time of no_label/static/file2.txt - # test app is first in INSTALLED_APPS so file2.txt should remain unmodified + # test app is first in installed apps so file2.txt should remain unmodified mtime = os.path.getmtime(self.testfile_path) atime = os.path.getatime(self.testfile_path) os.utime(self.orig_path, (mtime + 1, atime + 1)) |
