2023-11-09 08:30:25 +00:00
|
|
|
import pytest
|
2023-10-16 13:03:53 +00:00
|
|
|
from fixtures_flakes import FlakeForTest
|
2023-08-26 06:46:53 +00:00
|
|
|
|
2023-11-09 08:30:25 +00:00
|
|
|
from clan_cli.config.schema import machine_schema
|
2023-08-26 06:46:53 +00:00
|
|
|
|
|
|
|
|
2023-11-09 08:30:25 +00:00
|
|
|
@pytest.mark.with_core
|
|
|
|
def test_schema_for_machine(test_flake_with_core: FlakeForTest) -> None:
|
|
|
|
schema = machine_schema(test_flake_with_core.name, config={})
|
2023-08-26 06:46:53 +00:00
|
|
|
assert "properties" in schema
|