tasks: Pass path and coverage on to test task
This commit is contained in:
parent
8131f94530
commit
151986328e
2
tasks.py
2
tasks.py
@ -13,7 +13,7 @@ def docs(watch=False, warn=False):
|
|||||||
@task
|
@task
|
||||||
def test(path=None, coverage=False, watch=False, warn=False):
|
def test(path=None, coverage=False, watch=False, warn=False):
|
||||||
if watch:
|
if watch:
|
||||||
return watcher(test)
|
return watcher(test, path=path, coverage=coverage)
|
||||||
path = path or 'tests/'
|
path = path or 'tests/'
|
||||||
cmd = 'nosetests'
|
cmd = 'nosetests'
|
||||||
if coverage:
|
if coverage:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user