13 lines
252 B
Python
13 lines
252 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Configuration pytest partagée pour les imports du dépôt.
|
|
"""
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
|
|
ROOT_DIR = Path(__file__).resolve().parent.parent
|
|
|
|
if str(ROOT_DIR) not in sys.path:
|
|
sys.path.insert(0, str(ROOT_DIR))
|