from app.modules.zootech.orchestrator_system_metrics import collect_orchestrator_system_metrics


def test_collect_orchestrator_system_metrics_shape():
    metrics = collect_orchestrator_system_metrics()
    if metrics.get("available"):
        assert "memory" in metrics
        assert "cpu" in metrics
        assert "swap" in metrics
    else:
        assert "message" in metrics
