diff options
author | Michael Hwang <mhwang@research.att.com> | 2017-09-22 10:05:05 -0400 |
---|---|---|
committer | Michael Hwang <mhwang@research.att.com> | 2017-09-22 13:04:33 -0400 |
commit | af7747ca4a7d849dbef9f86b31216e388334f876 (patch) | |
tree | fecec814a0cf8e03689aa399c322eb499d6437c1 /dcae-cli/.coveragerc | |
parent | f9b3a97cc69baa4be00c9d054ce7b6cd1cfeee53 (diff) |
Get tox working
* Use public onap dependencies
* Make to work with tox
* Fix unit tests
Change-Id: I08ed9fa33003f4ec017818f61acf83b9f29ec9a3
Issue-Id: DCAEGEN2-60
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'dcae-cli/.coveragerc')
-rw-r--r-- | dcae-cli/.coveragerc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dcae-cli/.coveragerc b/dcae-cli/.coveragerc new file mode 100644 index 0000000..088c2da --- /dev/null +++ b/dcae-cli/.coveragerc @@ -0,0 +1,21 @@ +# .coveragerc to control coverage.py +[run] +branch = True + +[report] +# Regexes for lines to exclude from consideration +exclude_lines = + # Have to re-enable the standard pragma + pragma: no cover + + # Don't complain about missing debug-only code: + def __repr__ + if self\.debug + + # Don't complain if tests don't hit defensive assertion code: + raise AssertionError + raise NotImplementedError + + # Don't complain if non-runnable code isn't run: + if 0: + if __name__ == .__main__.: |