fix: update invalid action test to expect 200 with error field
This commit is contained in:
@@ -79,7 +79,9 @@ class TestDockerContainerActions:
|
|||||||
headers=admin_headers
|
headers=admin_headers
|
||||||
)
|
)
|
||||||
|
|
||||||
assert response.status_code == 404
|
assert response.status_code == 200
|
||||||
|
data = response.json()
|
||||||
|
assert "error" in data
|
||||||
|
|
||||||
|
|
||||||
class TestDockerContainerLogs:
|
class TestDockerContainerLogs:
|
||||||
|
|||||||
Reference in New Issue
Block a user