[PATCH 0/5] Cleanup of forms
Stephen Finucane
stephen at that.guru
Sun Nov 20 01:02:27 AEDT 2016
Improve test coverage and reduce duplications in forms.py
Stephen Finucane (5):
tests: Add rudimentary pagination tests
forms: Remove unused args in forms
forms: Remove duplication
forms: Use TypedChoiceField
forms: Trivial reshuffling of file
patchwork/forms.py | 130 ++++++++------------------
patchwork/paginator.py | 7 --
patchwork/templates/patchwork/pagination.html | 10 +-
patchwork/tests/test_paginator.py | 72 ++++++++++++++
4 files changed, 116 insertions(+), 103 deletions(-)
create mode 100644 patchwork/tests/test_paginator.py
--
2.7.4
More information about the Patchwork
mailing list