Exclude main.py from coverage analysis

This commit is contained in:
Aldo Cortesi 2014-11-15 17:47:39 +13:00
parent 7d76f3e992
commit 5af7c9ebf4
2 changed files with 4 additions and 1 deletions

View File

@ -2,5 +2,5 @@
branch = True
[report]
omit = *contrib*, *tnetstring*, *platform*, *console*
omit = *contrib*, *tnetstring*, *platform*, *console*, *main.py
include = *libmproxy*

View File

@ -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