From df3abbad405eb9f4a1e0b9a40de41d3620e41745 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Tue, 1 Jul 2025 12:30:17 +0200 Subject: [PATCH] clan_lib/tests: add big fat warning comment to save peoples time --- pkgs/clan-cli/clan_lib/tests/test_create.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/clan-cli/clan_lib/tests/test_create.py b/pkgs/clan-cli/clan_lib/tests/test_create.py index 82fa99407..40e476912 100644 --- a/pkgs/clan-cli/clan_lib/tests/test_create.py +++ b/pkgs/clan-cli/clan_lib/tests/test_create.py @@ -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)