]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Add duplicate mail test
authorJeremy Kerr <jk@ozlabs.org>
Thu, 16 Apr 2020 01:29:24 +0000 (09:29 +0800)
committerStephen Finucane <stephen@that.guru>
Sat, 18 Apr 2020 11:55:14 +0000 (12:55 +0100)
commit1493073e38c0c57e85778d2fdbf55cdb415522ca
tree26069ed2fc8968a95889cc71b93ee02c4866021d
parent77b8191ae6c0c08565f139da9ff94f5a2f21cc6b
tests: Add duplicate mail test

Test that we get the correct DuplicateMailError from parsing the same
mail twice.

Conflicts:
patchwork/tests/test_parser.py

NOTE(stephenfin): Conflicts are due to the removal of 'six' imports on
master.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Reviewed-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit d4b5fbd1d0c743003d59cef025f54b8d97586ddf)
patchwork/tests/test_parser.py