We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 515277a commit f8f699dCopy full SHA for f8f699d
tests/image/test_plugins.py
@@ -77,10 +77,11 @@ def test_image_form(self):
77
self.assertTrue(form.is_valid(), f"{form.__class__.__name__}:form errors: {form.errors}")
78
self.assertEqual(form.cleaned_data["config"]["use_responsive_image"], "yes")
79
80
+ # Test invalid option pair
81
request.POST.update(
82
{
- "use_automatic_scaling": True,
83
- "use_no_cropping": True,
+ "thumbnail_options": True,
84
+ "use_crop": True,
85
}
86
)
87
form = ImageForm(request.POST)
0 commit comments