New submission from Luiz Poleto: urllib.parse has two methods, parse_qs and parse_qsl to parse a query string and return its parameters/values as a dictionary or a list, respectively. However, the unit tests only tests parse_qsl, which is also incomplete since both parse_qs and parse_qsl support & and ; as separators for key=value pairs and there are only test scenarios using &.
The attached patch add a new test for parse_qs as well as new scenarios including ; as separator. ---------- components: Tests files: urllib.parse_test_coverage.patch keywords: patch messages: 263538 nosy: luiz.poleto priority: normal severity: normal status: open title: Improve test coverage on urllib.parse type: enhancement versions: Python 3.6 Added file: http://bugs.python.org/file42477/urllib.parse_test_coverage.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26775> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com