Skip to content

Commit ae8f3b9

Browse files
fixup! wip initial cut of interface
1 parent 516b347 commit ae8f3b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def pdfrest_live_base_url(pdfrest_api_key: str) -> str:
164164
response = client.get("/up", headers=headers)
165165
except httpx.HTTPError:
166166
continue
167-
if response.status_code == httpx.codes.OK:
167+
if response.is_success:
168168
return base_url
169169
pytest.skip("No reachable pdfRest API instance for live tests.")
170170

0 commit comments

Comments
 (0)