From 20352f3453dc99f5ba9c0d54e34c64653da94dbf Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 18 Feb 2016 13:24:17 +0100 Subject: fix test paths, move coverage config into setup.py --- setup.cfg | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 2155af3c..60de7c52 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,4 +9,16 @@ ignore = E251 [pytest] testpaths = test -addopts = --timeout 30 -s \ No newline at end of file +addopts = --timeout 30 -s + +[coverage:run] +branch = True +include = mitmproxy netlib pathod +omit = *contrib*, *tnetstring*, *platform*, *console*, *main.py + +[coverage:report] +show_missing = True +exclude_lines = + pragma: nocover + pragma: no cover + raise NotImplementedError() -- cgit v1.2.3