aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.coveragerc2
-rw-r--r--libmproxy/main.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc
index 7a4e3ab7..70ff48e7 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -2,5 +2,5 @@
branch = True
[report]
-omit = *contrib*, *tnetstring*, *platform*, *console*
+omit = *contrib*, *tnetstring*, *platform*, *console*, *main.py
include = *libmproxy*
diff --git a/libmproxy/main.py b/libmproxy/main.py
index ffa012d3..e5b7f56b 100644
--- a/libmproxy/main.py
+++ b/libmproxy/main.py
@@ -8,6 +8,9 @@ from .proxy import process_proxy_options, ProxyServerError
from .proxy.server import DummyServer, ProxyServer
+# This file is not included in coverage analysis or tests - anything that can be
+# tested should live elsewhere.
+
def check_versions():
"""
Having installed a wrong version of pyOpenSSL or netlib is unfortunately a