Skip to content

Commit

Permalink
Merge pull request iterative#641 from efiop/master
Browse files Browse the repository at this point in the history
test: call nosetests directly
  • Loading branch information
efiop authored Apr 10, 2018
2 parents f529447 + 2dcfbad commit 28d664d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/__main__.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 28d664d

Please sign in to comment.