]> git.ipfire.org Git - thirdparty/patchwork.git/commit
xmlrpc: massively increase test coverage
authorDaniel Axtens <dja@axtens.net>
Sat, 3 Sep 2016 07:07:20 +0000 (17:07 +1000)
committerStephen Finucane <stephenfinucane@hotmail.com>
Sat, 3 Sep 2016 22:41:12 +0000 (23:41 +0100)
commit8ab34a9380b381874160a6ba9fed1b226a502f60
tree8b59a260e77887826f04e87e3c2f5715396598d4
parent8b7eedcb7b99f44f6ce73ef9ec5ff24d52e40783
xmlrpc: massively increase test coverage

XMLRPC defines a bunch of very similar methods for getting and
listing a bunch of different models. So create a mixin that allows
us to test an arbitrary model, then use that to create test classes
to test the various models.

Add other tests as well.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Stephen Finucane <stephenfinucane@hotmail.com>
patchwork/tests/test_xmlrpc.py