Skip to content

Commit 468e741

Browse files
committed
fix
1 parent 545e6de commit 468e741

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/api/test_api.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,12 +830,14 @@ async def test_no_extension(
830830
try:
831831
async with AsyncClient(transport=ASGITransport(app=app)) as client:
832832
resp = await client.post(
833-
"/collections", json=load_test_data("test_collection.json")
833+
"http://test/collections", json=load_test_data("test_collection.json")
834834
)
835835
collection_id = resp.json()["id"]
836-
_ = await client.post("/collections", json=load_test_data("test_item.json"))
836+
_ = await client.post(
837+
"http://test/collections", json=load_test_data("test_item.json")
838+
)
837839
resp = await client.post(
838-
f"/collections/{collection_id}/items",
840+
f"http://test/collections/{collection_id}/items",
839841
json=load_test_data("test_item.json"),
840842
)
841843

0 commit comments

Comments
 (0)