Skip to content

Commit e01f8c1

Browse files
fix url
1 parent 8dd57a7 commit e01f8c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/api-server/tests/unit/api_solvers/test_api_routers_solvers_jobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ async def test_solver_logs(
191191
# was a re-direction
192192
resp0 = resp.history[0]
193193
assert resp0.status_code == status.HTTP_307_TEMPORARY_REDIRECT
194-
assert resp0.headers["location"] == presigned_download_link
194+
assert resp0.headers["location"] == f"{presigned_download_link}"
195195

196-
assert resp.url == presigned_download_link
196+
assert f"{resp.url}" == f"{presigned_download_link}"
197197
pprint(dict(resp.headers)) # noqa: T203
198198

199199

0 commit comments

Comments
 (0)