]> git.ozlabs.org Git - patchwork/commit
tests/mboxviews: test for unchanged postscript
authorAndreas Bießmann <andreas@biessmann.de>
Tue, 19 Nov 2013 14:44:01 +0000 (15:44 +0100)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 24 Jul 2014 09:14:21 +0000 (17:14 +0800)
commit9cc7b245a9364893c96178a0dd987a62f96b5b41
tree258ee9d531d6710ccacd33ebf21579f23257cb56
parentb49c71899e27592eee03b3caefbce26a411c6099
tests/mboxviews: test for unchanged postscript

Currently a patch containing postscript is always modified in patch_to_mbox()
compared to the input patch.

A comment containing 'some comment\n---\n some/file | 1 +' will be changed to
'some comment\n\n---\nsome/file | 1 +\n' which is annoying.

This patch adds a test to detect that, a follow up patch will fix the error
then.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/tests/test_mboxviews.py