Also, remove test_generate(), as it was testing no more than
test_mirrorlist_filter() already was.
Signed-off-by: Genki Sky
---
mirrors/tests/test_mirrorlist.py | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/mirrors/tests/test_mirrorlist.py b/mirrors/tests/
Hello, please find the following patches. One fixes a bug I noticed
where the filter URLs generated by the [mirrorlist] form were not
filtering as they should. While fixing this bug, I also improved (I
hope!) the testing in the area. Let me know if I'm missing anything.
I ran all the test cases, a
This fixes a regression. Originally request.REQUEST was used, but django
1.9 removed this. In its stead, request.POST was used unconditionally.
However, this results in any GET request returning *all* mirrors, rather
than filtering as requested in the parameters.
This patch uses POST or GET based