Skip to content

Commit c15224e

Browse files
fix url
1 parent be61302 commit c15224e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/api-server/tests/unit/test_utils_http_calls_capture.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async def test_capture_http_call(
2222
):
2323
# CAPTURE
2424
async with httpx.AsyncClient() as client:
25-
response: httpx.Response = await client.get(f"{httpbin_base_url}/json")
25+
response: httpx.Response = await client.get(f"{httpbin_base_url}json")
2626
print(response)
2727

2828
_request: httpx.Request = response.request
@@ -64,7 +64,7 @@ async def test_capture_http_dynamic_call(
6464
sample_uid = faker.uuid4() # used during test sampling
6565

6666
response: httpx.Response = await client.post(
67-
f"{httpbin_base_url}/anything/{sample_uid}",
67+
f"{httpbin_base_url}anything/{sample_uid!r}",
6868
params={"n": 42},
6969
json={
7070
"resource_id": sample_uid,

0 commit comments

Comments
 (0)