clan_lib/tests: add big fat warning comment to save peoples time

This commit is contained in:
Johannes Kirschbauer
2025-07-01 12:30:17 +02:00
parent f97385a9dc
commit df3abbad40

View File

@@ -271,6 +271,7 @@ def test_clan_create_api(
set_machine_disk_schema(machine, "single-disk", placeholders)
clan_dir_flake.invalidate_cache()
# ATTENTION: This raises only in the CI / Build sandbox executing this locally without the sandbox wouldn't raise!
with pytest.raises(ClanError) as exc_info:
Path(machine.select("config.system.build.toplevel"))
assert "nixos-system-test-clan" in str(exc_info.value)