Skip to content

Commit 298e67d

Browse files
committed
fix tests for cms 3
1 parent a2b3a3d commit 298e67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_form_rendering.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from .fixtures import TestFixture
1313

1414

15-
@skipIf(cms_version < "4", "Form rendering tests require django CMS 4 or higher")
1615
class FormRenderingTestCase(TestFixture, CMSTestCase):
1716
"""Tests for rendering forms including template tags"""
1817

@@ -329,6 +328,7 @@ class TestForm(forms.Form):
329328
class FormSubmissionRenderingTestCase(TestFixture, CMSTestCase):
330329
"""Tests for form rendering during submission and validation"""
331330

331+
@skipIf(cms_version < "4", "Form rendering tests require django CMS 4 or higher")
332332
def test_form_validation_error_rendering(self):
333333
"""Test that validation errors render properly"""
334334
form_plugin = add_plugin(

0 commit comments

Comments
 (0)