From ef1c36194e0cb3ac82304eb95fb323d71ec5ebab Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Fri, 26 May 2017 22:58:01 +0200 Subject: [PATCH] coverage++ --- test/mitmproxy/test_flowfilter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/mitmproxy/test_flowfilter.py b/test/mitmproxy/test_flowfilter.py index 46fff4776..fe9b2408b 100644 --- a/test/mitmproxy/test_flowfilter.py +++ b/test/mitmproxy/test_flowfilter.py @@ -209,6 +209,9 @@ class TestMatchingHTTPFlow: assert self.q("~u address:22/path", q) assert not self.q("~u moo/path", q) + q.request = None + assert not self.q("~u address", q) + assert self.q("~u address", s) assert self.q("~u address:22/path", s) assert not self.q("~u moo/path", s)