AgroScan / tests /conftest.py
DilliKel's picture
Adicionar arquivo conftest.py para configuração de testes e inclusão do diretório src no path
a517701
Raw
History Blame Contribute Delete
161 Bytes
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
SRC = ROOT / "src"
if str(SRC) not in sys.path:
sys.path.insert(0, str(SRC))