webui: tests for machine config endpoints
This commit is contained in:
8
pkgs/clan-cli/tests/test_config_machine.py
Normal file
8
pkgs/clan-cli/tests/test_config_machine.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from pathlib import Path
|
||||
|
||||
from clan_cli.config import machine
|
||||
|
||||
|
||||
def test_schema_for_machine(machine_flake: Path) -> None:
|
||||
schema = machine.schema_for_machine("machine1", machine_flake)
|
||||
assert "properties" in schema
|
||||
Reference in New Issue
Block a user