Repository navigation
What's Changed
- matchers/query: match repeated query parameters such as
?x=a&x=bagainst a list, in order, by @bensynapse in h2non#187 - matchers/query: match numeric values such as
params({"n": 1})against?n=1, by @SAY-5 in h2non#182 (fixes h2non#109) - matchers/query: match empty values such as
params({"cursor": ""})against?cursor=, by @xiehuanyi in h2non#188, suggested by @plaes (fixes h2non#181)
Query matching is now stricter in two cases, which may surface tests that only passed because of the old behaviour: a list must match the exact number of values sent (["a", "a"] no longer matches ?x=a), and an empty value requires the parameter to be present (a mock for ?x= no longer matches a request without x).
Full Changelog: v2.2.1...v2.2.2
Available on PyPI: https://pypi.org/project/pookx/2.2.2/