mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
Previous method of calling nose.main() didn't really work on windows. Signed-off-by: Ruslan Kuprieiev <[email protected]>
8 lines
242 B
Python
8 lines
242 B
Python
import os
|
|
from subprocess import check_call
|
|
|
|
REPO_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
os.chdir(REPO_ROOT)
|
|
|
|
check_call('nosetests --cover-inclusive --cover-erase --cover-package=dvc --with-coverage', shell=True)
|