diff options
author | django-bot <ops@djangoproject.com> | 2022-02-03 20:24:19 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-02-07 20:37:05 +0100 |
commit | 9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch) | |
tree | f0506b668a013d0063e5fba3dbf4863b466713ba /tests/check_framework/test_files.py | |
parent | f68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff) | |
download | django-9c19aff7c7561e3a82978a272ecdaad40dda5c00.tar.gz |
Refs #33476 -- Reformatted code with Black.
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", ), ], ) |