feat: project scaffold with models, config, and test fixtures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def sample_container():
|
||||
return {
|
||||
"id": "abc123",
|
||||
"name": "test-container",
|
||||
"status": "running",
|
||||
"image": "nginx:latest",
|
||||
"created": "2026-03-05T00:00:00Z",
|
||||
"uptime": "2 hours",
|
||||
"is_swarm": False,
|
||||
"swarm_service": None,
|
||||
}
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def sample_group():
|
||||
return {
|
||||
"id": "test-group",
|
||||
"name": "Test Group",
|
||||
"services": [
|
||||
{"node": "hf-pdocker-01", "container": "test-container"},
|
||||
],
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
pytest>=8.0.0
|
||||
pytest-asyncio>=0.24.0
|
||||
httpx>=0.28.0
|
||||
Reference in New Issue
Block a user