The test_patchwork_from_header test claims to test for the presence of the
X-Patchwork-From header, when we actually call it X-Patchwork-Submitter.
Fix it.
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
[dja: fix commit message]
Signed-off-by: Daniel Axtens <dja@axtens.net>
patch.url_msgid]))
self.assertContains(response, 'X-Patchwork-Delegate: %s' % user.email)
- def test_patchwork_from_header(self):
- """Validate inclusion of generated 'X-Patchwork-From' header."""
+ def test_patchwork_submitter_header(self):
+ """Validate inclusion of generated 'X-Patchwork-Submitter' header."""
email = 'jon@doe.com'
from_header = 'From: Jon Doe <%s>\n' % email