diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-06-30 05:04:20 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-06-30 05:12:39 +0200 |
commit | 5093eefb73d0f01d383fe55fdf7fdbd63f8888f2 (patch) | |
tree | 42599a4431a16809bb32e7fde98796366224ed21 /.coveragerc | |
parent | fbc676b2bcf63382a39c5b54d47c608a20a8cfea (diff) |
Define ODL console_script
main() is excluded from coverage as it usually parses argv.
It also renames ODLTests main() to run_suites() not to exclude this
method.
Change-Id: I3109a65166b21d93e3e376912a32d364931a7ba5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to '.coveragerc')
-rw-r--r-- | .coveragerc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc index fe258c6c..613ea33d 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,3 +1,4 @@ [report] exclude_lines = if __name__ == .__main__.: + def main |