diff options
Diffstat (limited to 'tests/check_framework/test_files.py')
| -rw-r--r-- | tests/check_framework/test_files.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check_framework/test_files.py b/tests/check_framework/test_files.py index 6b30220e37..0672fba9eb 100644 --- a/tests/check_framework/test_files.py +++ b/tests/check_framework/test_files.py @@ -9,7 +9,7 @@ class FilesCheckTests(SimpleTestCase): def test_file_upload_temp_dir(self): tests = [ None, - '', + "", Path.cwd(), str(Path.cwd()), ] @@ -18,7 +18,7 @@ class FilesCheckTests(SimpleTestCase): self.assertEqual(check_setting_file_upload_temp_dir(None), []) def test_file_upload_temp_dir_nonexistent(self): - for setting in ['nonexistent', Path('nonexistent')]: + for setting in ["nonexistent", Path("nonexistent")]: with self.subTest(setting), self.settings(FILE_UPLOAD_TEMP_DIR=setting): self.assertEqual( check_setting_file_upload_temp_dir(None), @@ -26,7 +26,7 @@ class FilesCheckTests(SimpleTestCase): Error( "The FILE_UPLOAD_TEMP_DIR setting refers to the " "nonexistent directory 'nonexistent'.", - id='files.E001', + id="files.E001", ), ], ) |
