Skip to content

Commit

Permalink
paver flag to run unittests without coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Young committed Jan 16, 2018
1 parent 5553e7d commit 078f3e6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pavelib/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
"--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',
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 078f3e6

Please sign in to comment.