]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Add rudimentary pagination tests
authorStephen Finucane <stephen@that.guru>
Sat, 19 Nov 2016 14:02:28 +0000 (14:02 +0000)
committerStephen Finucane <stephen@that.guru>
Sun, 18 Dec 2016 22:41:59 +0000 (22:41 +0000)
commited5e93242b9774b16da0a37232325d526c8dfdbd
tree6edfbd8702097db42a823740d130e33a25a5d216
parenta5f17c49e0b264590061280d307e297fadacbfc7
tests: Add rudimentary pagination tests

This should improve coverage and prevent regressions. The 'ppp' header
is removed as this is a non-standard header and not accessible from
a browser.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/paginator.py
patchwork/templates/patchwork/pagination.html
patchwork/tests/test_paginator.py [new file with mode: 0644]