Skip to content

Commit 300254e

Browse files
committed
test: remove bad test
This tested the case "mandatory field is empty", which we don't want to support.
1 parent f0b1979 commit 300254e

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

pdf_on_submit/tests/test_pdf_on_submit.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,3 @@ def test_boot_info_show_pdf_button_reflects_setting(self):
170170
bootinfo = self._call()
171171
self.assertEqual(bootinfo.pdf_on_submit.show_pdf_button, 0)
172172
self.assertEqual(bootinfo.pdf_on_submit.enabled_doctypes, [])
173-
174-
def test_boot_info_excludes_empty_document_type(self):
175-
self.settings.append("enabled_for", {"document_type": ""})
176-
self.settings.flags.ignore_mandatory = True
177-
self.settings.save()
178-
bootinfo = self._call()
179-
self.assertNotIn("", bootinfo.pdf_on_submit.enabled_doctypes)

0 commit comments

Comments
 (0)