mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
fixing lint error
This commit is contained in:
parent
16401d5be8
commit
2cf4efab07
@ -87,6 +87,7 @@ def test_is_mostly_bin():
|
|||||||
assert strutils.is_mostly_bin(b"foo" + b"\xFF" * 10)
|
assert strutils.is_mostly_bin(b"foo" + b"\xFF" * 10)
|
||||||
assert not strutils.is_mostly_bin("")
|
assert not strutils.is_mostly_bin("")
|
||||||
|
|
||||||
|
|
||||||
def test_is_xml():
|
def test_is_xml():
|
||||||
assert not strutils.is_xml(b"foo")
|
assert not strutils.is_xml(b"foo")
|
||||||
assert strutils.is_xml(b"<foo")
|
assert strutils.is_xml(b"<foo")
|
||||||
|
Loading…
Reference in New Issue
Block a user