aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-07-25 12:39:51 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-07-25 12:39:51 +1200
commit24f69419df148eb333591b5e8b654cd2987c0843 (patch)
treee3688f3b15f89ec169f8d1c138d45a9d0843d49b /test
parentadac9a35c3b0f7fb46a47495950ce5ca2dcc80e3 (diff)
downloadmitmproxy-24f69419df148eb333591b5e8b654cd2987c0843.tar.gz
mitmproxy-24f69419df148eb333591b5e8b654cd2987c0843.tar.bz2
mitmproxy-24f69419df148eb333591b5e8b654cd2987c0843.zip
Unit test about page.
Diffstat (limited to 'test')
-rw-r--r--test/test_app.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_app.py b/test/test_app.py
index da6431c9..e7c1c085 100644
--- a/test/test_app.py
+++ b/test/test_app.py
@@ -7,6 +7,10 @@ class TestApp(tutils.DaemonTests):
assert r.status_code == 200
assert r.content
+ def test_about(self):
+ r = self.getpath("/about")
+ assert r.ok
+
def test_docs(self):
assert self.getpath("/docs/pathod").status_code == 200
assert self.getpath("/docs/pathoc").status_code == 200