Commit a949822
fix: remove url parameter from kwargs to prevent duplication (#17)
* fix: remove method from kwargs and mark tests as ERROR on exceptions
- Remove 'method' from kwargs before passing to auth.request() to fix 'got multiple values' error
- Set test status to ERROR when exceptions occur during test execution
- Fixes issue where all 190 tests were failing but showing as passed
* fix: remove url parameter from kwargs to prevent duplication
The case.as_transport_kwargs() method returns a dictionary that includes
both 'method' and 'url' keys. We already fixed the 'method' duplication
in the previous commit, but 'url' was also causing the same issue.
When we pass path as a positional argument to auth.request(), which then
passes it to httpx.Client.request() as the 'url' parameter, having 'url'
also in **kwargs causes 'got multiple values for argument url' error.
This fix removes both 'method' and 'url' from kwargs before passing to
auth.request() to prevent parameter duplication.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 599c01e commit a949822
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
| 274 | + | |
| 275 | + | |
276 | 276 | | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| |||
0 commit comments