paver flag to run unittests without coverage

This commit is contained in:
Stuart Young
2018-01-16 11:30:20 -05:00
parent 5553e7ddf1
commit 078f3e6be4

View File

@@ -53,6 +53,10 @@ __test__ = False # do not collect
"--disable_capture", action="store_true", dest="disable_capture",
help="Disable capturing of stdout/stderr"
),
make_option(
"--disable-coverage", action="store_false", dest="with_coverage",
help="Run the unit tests directly through pytest, NOT coverage"
),
make_option(
'--disable-migrations',
action='store_true',
@@ -140,6 +144,10 @@ def test_system(options, passthrough_options):
"--disable_capture", action="store_true", dest="disable_capture",
help="Disable capturing of stdout/stderr"
),
make_option(
"--disable-coverage", action="store_false", dest="with_coverage",
help="Run the unit tests directly through pytest, NOT coverage"
),
], share_with=['pavelib.utils.test.utils.clean_reports_dir'])
@PassthroughTask
@timed