diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-05-22 19:29:05 +0200 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2024-05-22 16:37:23 -0300 |
| commit | 7e39ae5c8cf4c6601a4f47b72914349481c5331b (patch) | |
| tree | d6fe6b8d442e6c9b90066d8c867f7f56a27bf1bc /tests/model_fields | |
| parent | f619d31fa5bae0731634c468cae8f066aedf3197 (diff) | |
Fixed #35472 -- Used temporary directory in test_imagefield.NoReadTests.
Diffstat (limited to 'tests/model_fields')
| -rw-r--r-- | tests/model_fields/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_fields/models.py b/tests/model_fields/models.py index 18a6fdbc1c..652c808b40 100644 --- a/tests/model_fields/models.py +++ b/tests/model_fields/models.py @@ -383,7 +383,7 @@ if Image: mugshot = models.ImageField( upload_to="tests", - storage=NoReadFileSystemStorage(), + storage=NoReadFileSystemStorage(temp_storage_dir), width_field="mugshot_width", height_field="mugshot_height", ) |
