We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be61302 commit c15224eCopy full SHA for c15224e
services/api-server/tests/unit/test_utils_http_calls_capture.py
@@ -22,7 +22,7 @@ async def test_capture_http_call(
22
):
23
# CAPTURE
24
async with httpx.AsyncClient() as client:
25
- response: httpx.Response = await client.get(f"{httpbin_base_url}/json")
+ response: httpx.Response = await client.get(f"{httpbin_base_url}json")
26
print(response)
27
28
_request: httpx.Request = response.request
@@ -64,7 +64,7 @@ async def test_capture_http_dynamic_call(
64
sample_uid = faker.uuid4() # used during test sampling
65
66
response: httpx.Response = await client.post(
67
- f"{httpbin_base_url}/anything/{sample_uid}",
+ f"{httpbin_base_url}anything/{sample_uid!r}",
68
params={"n": 42},
69
json={
70
"resource_id": sample_uid,
0 commit comments