tests/conftest.py hinzugefügt
All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 4s
All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 4s
This commit is contained in:
parent
179ec4d38b
commit
9bbcc0952b
6
tests/conftest.py
Normal file
6
tests/conftest.py
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Sorgt dafür, dass 'app' als Paket importierbar ist,
|
||||||
|
# wenn pytest aus dem Repo-Root oder aus 'tests/' gestartet wird.
|
||||||
|
import os, sys
|
||||||
|
ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
||||||
|
if ROOT not in sys.path:
|
||||||
|
sys.path.insert(0, ROOT)
|
||||||
Loading…
Reference in New Issue
Block a user