Skip to content

Commit

Permalink
Fixed #35472 -- Used temporary directory in test_imagefield.NoReadTests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahboyce authored and nessita committed May 22, 2024
1 parent f619d31 commit 7e39ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/model_fields/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ class PersonNoReadImage(models.Model):

mugshot = models.ImageField(
upload_to="tests",
storage=NoReadFileSystemStorage(),
storage=NoReadFileSystemStorage(temp_storage_dir),
width_field="mugshot_width",
height_field="mugshot_height",
)
Expand Down

0 comments on commit 7e39ae5

Please sign in to comment.