nanobrush / scripts /test_setup.py
nmarshall's picture
formats: map dat converter
543c8e8
Raw History Blame Contribute Delete
369 Bytes
#!/usr/bin/env python3
"""Run network-free repository and research regression tests."""
from pathlib import Path
import sys
import unittest
ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(ROOT / "scripts"))
suite = unittest.defaultTestLoader.discover(str(ROOT / "tests"))
sys.exit(not unittest.TextTestRunner(verbosity=2).run(suite).wasSuccessful())