diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2020-04-16 09:29:25 +0800 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2020-04-18 12:30:30 +0100 |
commit | a60e75e2c6897fd262ec95a35e0e94b9027c11d4 (patch) | |
tree | b6702bae9f942bbb1c6f87d709b2a00b2cf392e1 /tox.ini | |
parent | d4b5fbd1d0c743003d59cef025f54b8d97586ddf (diff) | |
download | patchwork-a60e75e2c6897fd262ec95a35e0e94b9027c11d4.tar patchwork-a60e75e2c6897fd262ec95a35e0e94b9027c11d4.tar.gz |
tests: ensure we don't see database errors during duplicate insert
Currently, the parser causes IntegrityErrors while inserting duplicate
patches; these tend to pollute database logs.
This change adds a check, which currently fails, to ensure we do not
cause errors during a duplicate patch parse.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stephen Finucane <stephen@that.guru>
[stephenfin: Add 'expectedFailure' marker to keep all tests green]
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions