paver flag to run unittests without coverage
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user