mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 07:18:27 +01:00
Merge pull request #641 from efiop/master
test: call nosetests directly
This commit is contained in:
+6
-3
@@ -1,4 +1,7 @@
|
||||
import nose
|
||||
import os
|
||||
from subprocess import check_call
|
||||
|
||||
if __name__ == '__main__':
|
||||
nose.main(argv=['--cover-inclusive', '--cover-erase', '--cover-package=dvc', '--with-coverage'])
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user