Removed an unused parameter from submit.tests.do_submission_email().

- Legacy-Id: 18082
This commit is contained in:
Henrik Levkowetz 2020-06-27 17:17:22 +00:00
parent 4649c9ae4e
commit 9047875296

View file

@ -1673,7 +1673,6 @@ Thank you
q = PyQuery(r.content)
post_button = q('[type=submit]:contains("Send Email")')
self.assertEqual(len(post_button), 1)
action = post_button.parents("form").find('input[type=hidden][name="action"]').val()
subject = post_button.parents("form").find('input[name="subject"]').val()
frm = post_button.parents("form").find('input[name="frm"]').val()
cc = post_button.parents("form").find('input[name="cc"]').val()
@ -1683,7 +1682,6 @@ Thank you
# post submitter info
r = self.client.post(the_url, {
"action": action,
"subject": subject,
"frm": frm,
"to": to,