tasks: Pass path and coverage on to test task

This commit is contained in:
Stein Magnus Jodal 2014-09-12 11:31:05 +02:00
parent 8131f94530
commit 151986328e

View File

@ -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: