clan_lib/tests: add big fat warning comment to save peoples time
This commit is contained in:
@@ -271,6 +271,7 @@ def test_clan_create_api(
|
|||||||
set_machine_disk_schema(machine, "single-disk", placeholders)
|
set_machine_disk_schema(machine, "single-disk", placeholders)
|
||||||
clan_dir_flake.invalidate_cache()
|
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:
|
with pytest.raises(ClanError) as exc_info:
|
||||||
Path(machine.select("config.system.build.toplevel"))
|
Path(machine.select("config.system.build.toplevel"))
|
||||||
assert "nixos-system-test-clan" in str(exc_info.value)
|
assert "nixos-system-test-clan" in str(exc_info.value)
|
||||||
|
|||||||
Reference in New Issue
Block a user