diff --git a/tests/results/test_clearable_file_field.html b/tests/results/test_clearable_file_field.html index df35cb6..4c63da7 100644 --- a/tests/results/test_clearable_file_field.html +++ b/tests/results/test_clearable_file_field.html @@ -1,7 +1,6 @@
-
- Clearable file +
Currently
@@ -20,6 +19,5 @@
-
\ No newline at end of file diff --git a/tests/results/test_clearable_file_field_failing.html b/tests/results/test_clearable_file_field_failing.html index 986e2d7..78422b5 100644 --- a/tests/results/test_clearable_file_field_failing.html +++ b/tests/results/test_clearable_file_field_failing.html @@ -1,12 +1,12 @@
-
- + +
-
\ No newline at end of file diff --git a/tests/results/test_clearable_file_field_failing_lt60.html b/tests/results/test_clearable_file_field_failing_lt60.html deleted file mode 100644 index 78422b5..0000000 --- a/tests/results/test_clearable_file_field_failing_lt60.html +++ /dev/null @@ -1,24 +0,0 @@ -
-
- -
- -
- - This field is required. - -
-
-
-
\ No newline at end of file diff --git a/tests/results/test_clearable_file_field_lt60.html b/tests/results/test_clearable_file_field_lt60.html deleted file mode 100644 index 4c63da7..0000000 --- a/tests/results/test_clearable_file_field_lt60.html +++ /dev/null @@ -1,23 +0,0 @@ -
-
- -
- Currently -
- - - - - - - - - -
-
-
- -
-
-
\ No newline at end of file diff --git a/tests/test_layout.py b/tests/test_layout.py index a6b7deb..733226d 100644 --- a/tests/test_layout.py +++ b/tests/test_layout.py @@ -607,10 +607,7 @@ def test_file_field(): form.helper = FormHelper() form.helper.layout = Layout("clearable_file") - if django.VERSION < (6, 0): - assert parse_form(form) == parse_expected("test_clearable_file_field_lt60.html") - else: - assert parse_form(form) == parse_expected("test_clearable_file_field.html") + assert parse_form(form) == parse_expected("test_clearable_file_field.html") form.helper.layout = Layout("file_field") @@ -624,8 +621,6 @@ def test_file_field(): expected = "test_clearable_file_field_failing_lt50.html" elif django.VERSION < (5, 2): expected = "test_clearable_file_field_failing_lt52.html" - elif django.VERSION < (6, 0): - expected = "test_clearable_file_field_failing_lt60.html" else: expected = "test_clearable_file_field_failing.html" assert parse_form(form) == parse_expected(expected)