summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/.coveragerc
diff options
context:
space:
mode:
authorsxd <shang.xiaodong@zte.com.cn>2016-07-07 15:09:15 +0800
committersxd <shang.xiaodong@zte.com.cn>2016-07-07 15:09:15 +0800
commiteac8aa9137c62d3f1a8fe20ef7bde7560b6d4aca (patch)
tree7b62ad86e4054d83cfdd9b7f275514ed36cc7e7c /tosca2heat/tosca-parser/.coveragerc
parentabb85f971f797e7db6c1737862b53ab4fee2a12e (diff)
fix tox error when run unittest
Currently when run "tox -epep8" it's ok, but it will be error when run "tox -epy27" or run "tox -epy34", the reason is no file .testr.conf and .converagerc in project root directory Change-Id: Ic6ab721738692c389d63bc2d84a4c2a21b397778 JIRA: PARSER-62 Signed-off-by: sxd <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/.coveragerc')
-rw-r--r--tosca2heat/tosca-parser/.coveragerc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tosca2heat/tosca-parser/.coveragerc b/tosca2heat/tosca-parser/.coveragerc
new file mode 100644
index 0000000..3309d46
--- /dev/null
+++ b/tosca2heat/tosca-parser/.coveragerc
@@ -0,0 +1,7 @@
+[run]
+branch = True
+source = toscaparser
+omit = toscaparser/openstack/*
+
+[report]
+ignore_errors = True