fix: update docker action test to expect ok field
This commit is contained in:
@@ -42,7 +42,7 @@ class TestDockerContainerActions:
|
||||
|
||||
assert response.status_code == 200
|
||||
data = response.json()
|
||||
assert "message" in data or "status" in data
|
||||
assert data["ok"] is True
|
||||
|
||||
def test_stop_container_success(self, test_app, admin_headers, mock_docker_client):
|
||||
"""Test stopping a container."""
|
||||
|
||||
Reference in New Issue
Block a user