Refactor public API around environments
This commit is contained in:
parent
57dae52cc2
commit
5d5243df23
41 changed files with 1301 additions and 459 deletions
|
|
@ -18,7 +18,7 @@ def test_pyro_run_in_vm_delegates_to_manager(tmp_path: Path) -> None:
|
|||
)
|
||||
)
|
||||
result = pyro.run_in_vm(
|
||||
profile="debian-base",
|
||||
environment="debian:12-base",
|
||||
command="printf 'ok\\n'",
|
||||
vcpu_count=1,
|
||||
mem_mib=512,
|
||||
|
|
@ -72,7 +72,7 @@ def test_pyro_vm_run_tool_executes(tmp_path: Path) -> None:
|
|||
await server.call_tool(
|
||||
"vm_run",
|
||||
{
|
||||
"profile": "debian-base",
|
||||
"environment": "debian:12-base",
|
||||
"command": "printf 'ok\\n'",
|
||||
"vcpu_count": 1,
|
||||
"mem_mib": 512,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue