MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / lf

Function lf

tests/python/test_operator_properties.py:12–24  ·  view source on GitHub ↗

Import lichtfeld module.

()

Source from the content-addressed store, hash-verified

10
11@pytest.fixture
12def lf():
13 """Import lichtfeld module."""
14 project_root = Path(__file__).parent.parent.parent
15 build_python = project_root / "build" / "src" / "python"
16 if str(build_python) not in sys.path:
17 sys.path.insert(0, str(build_python))
18
19 try:
20 import lichtfeld
21
22 return lichtfeld
23 except ImportError as e:
24 pytest.skip(f"lichtfeld module not available: {e}")
25
26
27@pytest.fixture

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45
skipMethod · 0.45

Tested by

no test coverage detected