test(inventory): load relocated helper

This commit is contained in:
fraujulian committed 2026-09-18 11:59:05 +02:00
1 parent 797e53ff3e
commit efec24a4eb
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ from tempfile import TemporaryDirectory
import unittest import unittest
SPEC = importlib.util.spec_from_file_location('prompt_inventory', Path(__file__).parent / 'lib/prompt-inventory.py') SPEC = importlib.util.spec_from_file_location('prompt_inventory', Path(__file__).parents[2] / 'scripts/lib/prompt-inventory.py')
MODULE = importlib.util.module_from_spec(SPEC) MODULE = importlib.util.module_from_spec(SPEC)
SPEC.loader.exec_module(MODULE) SPEC.loader.exec_module(MODULE)