Signed-off-by: Philippe Pepiot <p...@philpep.org> --- patchwork/tests/test_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/patchwork/tests/test_parser.py b/patchwork/tests/test_parser.py index 14f9f72..63231fa 100644 --- a/patchwork/tests/test_parser.py +++ b/patchwork/tests/test_parser.py @@ -68,9 +68,9 @@ def read_mail(filename, project=None): return mail -def _create_email(msg, msgid=None, sender=None, listid=None): +def _create_email(msg, msgid=None, sender=None, listid=None, subject=None): msg['Message-Id'] = msgid or make_msgid() - msg['Subject'] = 'Test subject' + msg['Subject'] = subject or 'Test subject' msg['From'] = sender or 'Test Author <test-aut...@example.com>' msg['List-Id'] = listid or 'test.example.com' -- 2.1.4 _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork