Commit 07c9531
committed
test: parse JSON instead of asserting exact whitespace in response body test
Older httpx versions (lowest-direct CI matrix) serialize JSON with a space after
the colon; newer versions use compact separators. Parse the captured body instead
of asserting the exact string.1 parent c85501a commit 07c9531
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
260 | 262 | | |
261 | 263 | | |
262 | 264 | | |
263 | | - | |
| 265 | + | |
264 | 266 | | |
265 | 267 | | |
266 | 268 | | |
| |||
0 commit comments