summaryrefslogtreecommitdiffstats
path: root/.coveragerc
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-06-30 05:04:20 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-06-30 05:12:39 +0200
commit5093eefb73d0f01d383fe55fdf7fdbd63f8888f2 (patch)
tree42599a4431a16809bb32e7fde98796366224ed21 /.coveragerc
parentfbc676b2bcf63382a39c5b54d47c608a20a8cfea (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--.coveragerc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc
index fe258c6c6..613ea33df 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -1,3 +1,4 @@
[report]
exclude_lines =
if __name__ == .__main__.:
+ def main