(
name: str,
namespace: str = "srv",
has_app_ui: bool = True,
app_resource_uri: str | None = "http://localhost:8080",
description: str = "A tool",
)
| 22 | |
| 23 | |
| 24 | def _make_tool( |
| 25 | name: str, |
| 26 | namespace: str = "srv", |
| 27 | has_app_ui: bool = True, |
| 28 | app_resource_uri: str | None = "http://localhost:8080", |
| 29 | description: str = "A tool", |
| 30 | ) -> MagicMock: |
| 31 | t = MagicMock() |
| 32 | t.name = name |
| 33 | t.namespace = namespace |
| 34 | t.has_app_ui = has_app_ui |
| 35 | t.app_resource_uri = app_resource_uri |
| 36 | t.description = description |
| 37 | return t |
| 38 | |
| 39 | |
| 40 | def _make_running_app( |
no outgoing calls
no test coverage detected