Full source paths.

This commit is contained in:
2026-02-23 23:15:19 -08:00
parent 88e7d9ff17
commit ca2d780018
3 changed files with 6 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ class TestToolsList:
data = response.json()
tool = next(t for t in data if t["id"] == "test-tool")
assert tool["description"] == "Test tool"
assert tool["source"] == "test-tool"
assert tool["source"].endswith("/test-tool")
assert tool["system_dependencies"] == ["pandoc"]
def test_installed_flag(self, client: TestClient) -> None:
@@ -57,7 +57,7 @@ class TestToolDetail:
assert response.status_code == 200
data = response.json()
assert data["id"] == "test-tool"
assert data["source"] == "test-tool"
assert data["source"].endswith("/test-tool")
assert data["system_dependencies"] == ["pandoc"]
def test_no_docs(self, client: TestClient) -> None: