Skip to content

Commit 20cd0c9

Browse files
committed
Update test to match actual boundaries
1 parent f6cb4c4 commit 20cd0c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

news/tests/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def test_entry_model_image_file_size(tp):
9696
entry = Entry.objects.create(title="😀 Foo Bar Baz!@! +", author=author)
9797

9898
valid_image = SimpleUploadedFile(
99-
"test.jpg", b"a" * (1 * 1024 * 1024 - 1), content_type="image/jpeg"
99+
"test.jpg", b"a" * (5 * 1024 * 1024 - 1), content_type="image/jpeg"
100100
)
101101
entry.image = valid_image
102102
# This should not raise any errors

0 commit comments

Comments
 (0)