I got coverage tests to work, then zeroed in on XMLRPC testing, which had really low coverage.
I wrote a bunch of tests, bringing coverage of that file from 33% to 78%. I fixed some bugs and quirks. Daniel Axtens (8): test: fix coverage tests xmlrpc: Change filter(...)[0] to get(...) xmlrpc: fix max_count for check_list xmlrpc: remove some unnecessary try/except blocks xmlrpc: catch possible exceptions in patch filtering. xmlrpc: remove a redundant try/except block xmlrpc authentication: Fix base64 decoding for py3 xmlrpc: massively increase test coverage patchwork/tests/test_xmlrpc.py | 196 +++++++++++++++++++++++--- patchwork/views/xmlrpc.py | 302 ++++++++++++++++++++--------------------- tox.ini | 6 +- 3 files changed, 327 insertions(+), 177 deletions(-) -- 2.7.4 _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
