2023-10-16 13:03:53 +00:00
|
|
|
from fixtures_flakes import FlakeForTest
|
2023-08-26 06:46:53 +00:00
|
|
|
|
|
|
|
from clan_cli.config import machine
|
|
|
|
|
|
|
|
|
2023-10-16 13:03:53 +00:00
|
|
|
def test_schema_for_machine(test_flake: FlakeForTest) -> None:
|
2023-10-14 12:57:36 +00:00
|
|
|
schema = machine.schema_for_machine(test_flake.name, "machine1")
|
2023-08-26 06:46:53 +00:00
|
|
|
assert "properties" in schema
|