diff options
| author | Tim Graham <timograham@gmail.com> | 2014-02-09 15:35:35 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-02-09 15:39:04 -0500 |
| commit | 29345390b81a3bfce22af43617cabd0d08de3632 (patch) | |
| tree | f313df61f243de563b58318bf7cdbe1eaff22c76 /tests/staticfiles_tests/tests.py | |
| parent | e2f28572b745c6a8555b8bfd00df10c936c434c0 (diff) | |
Minor edits to new findstatic functionality; refs #19879.
Hopefully fixes a test failure on Jenkins.
Diffstat (limited to 'tests/staticfiles_tests/tests.py')
| -rw-r--r-- | tests/staticfiles_tests/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/staticfiles_tests/tests.py b/tests/staticfiles_tests/tests.py index 95852acd09..e72875566b 100644 --- a/tests/staticfiles_tests/tests.py +++ b/tests/staticfiles_tests/tests.py @@ -236,19 +236,19 @@ class TestFindStatic(CollectionTestCase, TestDefaults): self.assertIn('apps', force_text(lines[2])) self.assertIn("Looking in the following locations:", force_text(lines[3])) searched_locations = ', '.join(lines[4:]) - #AppDirectoriesFinder searched locations + # AppDirectoriesFinder searched locations self.assertIn(os.path.join('staticfiles_tests', 'apps', 'test', 'static'), searched_locations) self.assertIn(os.path.join('staticfiles_tests', 'apps', 'no_label', 'static'), searched_locations) self.assertIn(os.path.join('django', 'contrib', 'admin', 'static'), searched_locations) - self.assertIn(os.path.join('django', 'tests', 'servers', 'another_app', 'static'), + self.assertIn(os.path.join('tests', 'servers', 'another_app', 'static'), searched_locations) - #FileSystemFinder searched locations + # FileSystemFinder searched locations self.assertIn(TEST_SETTINGS['STATICFILES_DIRS'][1][1], searched_locations) self.assertIn(TEST_SETTINGS['STATICFILES_DIRS'][0], searched_locations) - #DefaultStorageFinder searched locations + # DefaultStorageFinder searched locations self.assertIn(os.path.join('staticfiles_tests', 'project', 'site_media', 'media'), searched_locations) |
