musicube/test/conftest.py

7 lines
200 B
Python

import sys
from pathlib import Path
# Add source to PATH such that imports within src modules are properly resolved.
SRC_PATH = str(Path(__file__).parent / '..' / 'src')
sys.path.insert(0, SRC_PATH)