Merge dev to main: Security improvements and comprehensive test infrastructure #39
@@ -42,7 +42,7 @@ class TestDockerContainerActions:
|
|||||||
|
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
data = response.json()
|
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):
|
def test_stop_container_success(self, test_app, admin_headers, mock_docker_client):
|
||||||
"""Test stopping a container."""
|
"""Test stopping a container."""
|
||||||
|
|||||||
Reference in New Issue
Block a user