[PATCH 0/8] Increase coverage of XMLRPC tests and fix bugs
Daniel Axtens
dja at axtens.net
Sat Sep 3 17:07:12 AEST 2016
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
More information about the Patchwork
mailing list