From a9ce0bbc424e2c06ad84ebac0eec4b12562a903c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 8 Oct 2026 19:43:15 +0200 Subject: [PATCH] test_hull_grid: load hull_grid under its repo-rooted dotted name so mutmut can attribute kills Co-Authored-By: Claude Opus 5.5 --- tools/blender/tests/test_hull_grid.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/blender/tests/test_hull_grid.py b/tools/blender/tests/test_hull_grid.py index ac8ef248f..537adc031 100644 --- a/tools/blender/tests/test_hull_grid.py +++ b/tools/blender/tests/test_hull_grid.py @@ -10,8 +10,9 @@ import importlib.util import unittest from pathlib import Path +# The dotted name is the module's path from the repo root, which mutmut keys its mutants by. _spec = importlib.util.spec_from_file_location( - "hull_grid", Path(__file__).resolve().parents[1] / "aetheria_ships" / "hull_grid.py") + "tools.blender.aetheria_ships.hull_grid", Path(__file__).resolve().parents[1] / "aetheria_ships" / "hull_grid.py") hull_grid = importlib.util.module_from_spec(_spec) _spec.loader.exec_module(hull_grid)