aboutsummaryrefslogtreecommitdiffstats
path: root/test/netlib
diff options
context:
space:
mode:
authorManish Kumar <mkagenius@gmail.com>2016-08-26 14:22:02 +0530
committerManish Kumar <mkagenius@gmail.com>2016-08-26 14:22:02 +0530
commit2cf4efab0793fc299781bed531cd88cb17110060 (patch)
tree7b21ae5e85324a1ffcf280f7a71f344532949bc5 /test/netlib
parent16401d5be8fba35599caedb4c78901d4b66ac082 (diff)
downloadmitmproxy-2cf4efab0793fc299781bed531cd88cb17110060.tar.gz
mitmproxy-2cf4efab0793fc299781bed531cd88cb17110060.tar.bz2
mitmproxy-2cf4efab0793fc299781bed531cd88cb17110060.zip
fixing lint error
Diffstat (limited to 'test/netlib')
-rw-r--r--test/netlib/test_strutils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/netlib/test_strutils.py b/test/netlib/test_strutils.py
index f8dc3ada..5be254a3 100644
--- a/test/netlib/test_strutils.py
+++ b/test/netlib/test_strutils.py
@@ -87,6 +87,7 @@ def test_is_mostly_bin():
assert strutils.is_mostly_bin(b"foo" + b"\xFF" * 10)
assert not strutils.is_mostly_bin("")
+
def test_is_xml():
assert not strutils.is_xml(b"foo")
assert strutils.is_xml(b"<foo")