aboutsummaryrefslogtreecommitdiffstats
path: root/pathod
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-03-27 12:02:41 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-03-27 12:02:41 +0200
commitec68d8b8e4a9fc24e45379359f96b3ebc30e381a (patch)
tree8a37b879502b5a6e68f02a374761481241f6dd5d /pathod
parentab7e80085af891c494bc274c0cde27d49f89f254 (diff)
downloadmitmproxy-ec68d8b8e4a9fc24e45379359f96b3ebc30e381a.tar.gz
mitmproxy-ec68d8b8e4a9fc24e45379359f96b3ebc30e381a.tar.bz2
mitmproxy-ec68d8b8e4a9fc24e45379359f96b3ebc30e381a.zip
s/nocover/no cover/g
according to coveralls docs
Diffstat (limited to 'pathod')
-rw-r--r--pathod/pathoc.py4
-rw-r--r--pathod/pathoc_cmdline.py2
-rw-r--r--pathod/pathod.py2
-rw-r--r--pathod/pathod_cmdline.py2
-rw-r--r--pathod/utils.py2
5 files changed, 6 insertions, 6 deletions
diff --git a/pathod/pathoc.py b/pathod/pathoc.py
index 86661f98..0e6d3ca7 100644
--- a/pathod/pathoc.py
+++ b/pathod/pathoc.py
@@ -208,7 +208,7 @@ class Pathoc(tcp.TCPClient):
self.ws_framereader = None
if self.use_http2:
- if not tcp.HAS_ALPN: # pragma: nocover
+ if not tcp.HAS_ALPN: # pragma: no cover
log.write_raw(
self.fp,
"HTTP/2 requires ALPN support. "
@@ -458,7 +458,7 @@ class Pathoc(tcp.TCPClient):
# TODO: do something
-def main(args): # pragma: nocover
+def main(args): # pragma: no cover
memo = set([])
trycount = 0
p = None
diff --git a/pathod/pathoc_cmdline.py b/pathod/pathoc_cmdline.py
index bf827a9a..b59704f3 100644
--- a/pathod/pathoc_cmdline.py
+++ b/pathod/pathoc_cmdline.py
@@ -221,6 +221,6 @@ def args_pathoc(argv, stdout=sys.stdout, stderr=sys.stderr):
return args
-def go_pathoc(): # pragma: nocover
+def go_pathoc(): # pragma: no cover
args = args_pathoc(sys.argv)
pathoc.main(args)
diff --git a/pathod/pathod.py b/pathod/pathod.py
index 55e75074..b80da887 100644
--- a/pathod/pathod.py
+++ b/pathod/pathod.py
@@ -430,7 +430,7 @@ class Pathod(tcp.TCPServer):
return self.log
-def main(args): # pragma: nocover
+def main(args): # pragma: no cover
ssloptions = SSLOptions(
cn=args.cn,
confdir=args.confdir,
diff --git a/pathod/pathod_cmdline.py b/pathod/pathod_cmdline.py
index c9272249..1f972a49 100644
--- a/pathod/pathod_cmdline.py
+++ b/pathod/pathod_cmdline.py
@@ -226,6 +226,6 @@ def args_pathod(argv, stdout_=sys.stdout, stderr_=sys.stderr):
return args
-def go_pathod(): # pragma: nocover
+def go_pathod(): # pragma: no cover
args = args_pathod(sys.argv)
pathod.main(args)
diff --git a/pathod/utils.py b/pathod/utils.py
index a1109a3c..1e5bd9a4 100644
--- a/pathod/utils.py
+++ b/pathod/utils.py
@@ -98,7 +98,7 @@ class Data(object):
data = Data(__name__)
-def daemonize(stdin='/dev/null', stdout='/dev/null', stderr='/dev/null'): # pragma: nocover
+def daemonize(stdin='/dev/null', stdout='/dev/null', stderr='/dev/null'): # pragma: no cover
try:
pid = os.fork()
if pid > 0: