We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08645b8 commit 36a153cCopy full SHA for 36a153c
workflowai/core/client/api_test.py
@@ -79,7 +79,7 @@ class TestOutputModel(BaseModel):
79
returns=TestOutputModel,
80
):
81
pass
82
- except Exception as e:
+ except httpx.HTTPStatusError as e:
83
assert isinstance(e, httpx.HTTPStatusError)
84
assert e.response.status_code == 404
85
assert e.response.reason_phrase == "Not Found"
0 commit comments