update tests for proper HTTP status codes
This commit is contained in:
@@ -97,5 +97,4 @@ class TestAgentRuns:
|
||||
@pytest.mark.asyncio
|
||||
async def test_unknown_run(self, agent_client):
|
||||
res = await agent_client.get(E.run("nonexistent"))
|
||||
H.assert_status(res, 200)
|
||||
assert "error" in res.json()
|
||||
H.assert_status(res, 404)
|
||||
|
||||
Reference in New Issue
Block a user