summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2018-03-16 10:54:34 +0100
committerGitHub <noreply@github.com>2018-03-16 10:54:34 +0100
commit362813d6287925b8f63f0b107c55a74d95f5825e (patch)
treeefd69a3deb9e837624279e5abfdd8d55d57dcd7c /tests/staticfiles_tests
parentaeb8c381789ad93866223f8bd07d09ae5e2edd9e (diff)
Fixed hanging indentation in various code.
Diffstat (limited to 'tests/staticfiles_tests')
-rw-r--r--tests/staticfiles_tests/test_management.py3
-rw-r--r--tests/staticfiles_tests/test_storage.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/staticfiles_tests/test_management.py b/tests/staticfiles_tests/test_management.py
index a6db5ef1c5..0d115d8596 100644
--- a/tests/staticfiles_tests/test_management.py
+++ b/tests/staticfiles_tests/test_management.py
@@ -319,7 +319,8 @@ class TestCollectionFilesOverride(CollectionTestCase):
os.utime(self.testfile_path, (self.orig_atime - 1, self.orig_mtime - 1))
self.settings_with_test_app = self.modify_settings(
- INSTALLED_APPS={'prepend': 'staticfiles_test_app'})
+ INSTALLED_APPS={'prepend': 'staticfiles_test_app'},
+ )
with extend_sys_path(self.temp_dir):
self.settings_with_test_app.enable()
diff --git a/tests/staticfiles_tests/test_storage.py b/tests/staticfiles_tests/test_storage.py
index 318da6a226..f7a22b7427 100644
--- a/tests/staticfiles_tests/test_storage.py
+++ b/tests/staticfiles_tests/test_storage.py
@@ -348,7 +348,8 @@ class TestCollectionManifestStorage(TestHashedFiles, CollectionTestCase):
f.write('to be deleted in one test')
self.patched_settings = self.settings(
- STATICFILES_DIRS=settings.STATICFILES_DIRS + [temp_dir])
+ STATICFILES_DIRS=settings.STATICFILES_DIRS + [temp_dir],
+ )
self.patched_settings.enable()
self.addCleanup(shutil.rmtree, temp_dir)
self._manifest_strict = storage.staticfiles_storage.manifest_strict