Clean state
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from pathlib import Path
|
||||
import sys
|
||||
|
||||
# Full suite
|
||||
# python -m unittest discover -s classifier/tests -p "test_*.py" -t classifier
|
||||
|
||||
# Allow `from src...` imports when tests are run from repo root.
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
if str(ROOT) not in sys.path:
|
||||
sys.path.insert(0, str(ROOT))
|
||||
|
||||
Reference in New Issue
Block a user