aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/contentviews/test_html.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/mitmproxy/contentviews/test_html.py')
-rw-r--r--test/mitmproxy/contentviews/test_html.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/mitmproxy/contentviews/test_html.py b/test/mitmproxy/contentviews/test_html.py
deleted file mode 100644
index 8d5818e5..00000000
--- a/test/mitmproxy/contentviews/test_html.py
+++ /dev/null
@@ -1,18 +0,0 @@
-from mitmproxy.contentviews import html
-from . import full_eval
-
-
-def test_view_html():
- v = full_eval(html.ViewHTML())
- s = b"<html><br><br></br><p>one</p></html>"
- assert v(s)
-
- s = b"gobbledygook"
- assert not v(s)
-
-
-def test_view_html_outline():
- v = full_eval(html.ViewHTMLOutline())
- s = b"<html><br><br></br><p>one</p></html>"
- assert v(s)
- assert v(b'\xfe')