Skip to content

Commit

Permalink
Add additional test cases for HTTPX params
Browse files Browse the repository at this point in the history
  • Loading branch information
jocke-l committed Oct 10, 2020
1 parent 4ded5f7 commit 9b0852f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,9 +483,15 @@ def test_pop():
(
re.compile(r"https://foo/(?P<page>\w+)/"),
{"foo": "bar"},
"https://foo/baz/",
"https://foo/baz/?foo=bar",
None,
),
(
re.compile(r"https://foo/(?P<page>\w+)/"),
{"foo": "bar"},
"https://foo/baz/",
{"foo": "bars"},
),
],
)
async def test_params(client, url, params, call_url, call_params):
Expand Down

0 comments on commit 9b0852f

Please sign in to comment.