Skip to content

Commit f8f699d

Browse files
committed
Update test to use new invalid option pair
1 parent 515277a commit f8f699d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/image/test_plugins.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,11 @@ def test_image_form(self):
7777
self.assertTrue(form.is_valid(), f"{form.__class__.__name__}:form errors: {form.errors}")
7878
self.assertEqual(form.cleaned_data["config"]["use_responsive_image"], "yes")
7979

80+
# Test invalid option pair
8081
request.POST.update(
8182
{
82-
"use_automatic_scaling": True,
83-
"use_no_cropping": True,
83+
"thumbnail_options": True,
84+
"use_crop": True,
8485
}
8586
)
8687
form = ImageForm(request.POST)

0 commit comments

Comments
 (0)