diff --git a/pkgs/clan-cli/tests/test_vms_api.py b/pkgs/clan-cli/tests/test_vms_api.py index 7d202a1..fdc1a09 100644 --- a/pkgs/clan-cli/tests/test_vms_api.py +++ b/pkgs/clan-cli/tests/test_vms_api.py @@ -32,3 +32,13 @@ def test_create(api: TestClient, test_flake_with_core: Path) -> None: ), ) assert response.status_code == 200, "Failed to inspect vm" + + uuid = response.json()["uuid"] + assert len(uuid) == 36 + assert uuid.count("-") == 4 + + response = api.get(f"/api/vms/{uuid}/status") + for line in response.stream: + print(line) + + assert response.status_code == 200, "Failed to get vm status" \ No newline at end of file