generated from Luis/nextjs-python-web-template
- fix machines settings file location - raise 404 if machine doesn't exist - improve machine api test
9 lines
223 B
Python
9 lines
223 B
Python
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
|