diff options
Diffstat (limited to 'dev-python/crispy-bootstrap4/files/crispy-bootstrap4-2022.1-test.patch')
-rw-r--r-- | dev-python/crispy-bootstrap4/files/crispy-bootstrap4-2022.1-test.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/crispy-bootstrap4/files/crispy-bootstrap4-2022.1-test.patch b/dev-python/crispy-bootstrap4/files/crispy-bootstrap4-2022.1-test.patch new file mode 100644 index 000000000000..1432235e3b56 --- /dev/null +++ b/dev-python/crispy-bootstrap4/files/crispy-bootstrap4-2022.1-test.patch @@ -0,0 +1,17 @@ +--- a/tests/test_form_helper.py 2023-04-01 18:48:25.847263389 +0200 ++++ b/tests/test_form_helper.py 2023-04-01 18:48:38.817091994 +0200 +@@ -633,14 +633,6 @@ + assert '<div class="form-group row">' not in html + + +-def test_template_pack_bs4(): +- form = SampleForm() +- form.helper = FormHelper() +- form.helper.template_pack = "bootstrap3" +- html = render_crispy_form(form) +- assert "controls" in html # controls is bootstrap3 only +- +- + def test_passthrough_context(): + """ + Test to ensure that context is passed through implicitly from outside of |