Refs #35658 -- Fixed test_create_file_field_from_another_file_field_in_memory_storage when run in reverse.

This commit is contained in:
Mariusz Felisiak 2024-08-15 07:49:20 +02:00 committed by Sarah Boyce
parent 43cdfa8b20
commit a57596e443
1 changed files with 2 additions and 1 deletions

View File

@ -771,6 +771,7 @@ class DiscardingFalseContentStorageTests(FileStorageTests):
class FileFieldStorageTests(TestCase):
def tearDown(self):
if os.path.exists(temp_storage_location):
shutil.rmtree(temp_storage_location)
def _storage_max_filename_length(self, storage):