Repository ·Public ·MIT ·Research preview
conftest.py 246 B 8 lines python
1"""Rend la bibliothèque du laboratoire importable par les tests, sous pytest comme sous unittest."""2import sys3from pathlib import Path45LABS = Path(__file__).resolve().parents[1]6if str(LABS) not in sys.path:7 sys.path.insert(0, str(LABS))8
main