aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathod.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-04-19 10:12:15 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-04-19 10:12:15 +1200
commitd8b79e99829d307dd9cd8dc03872c90236ca173f (patch)
tree53932e7d9e4d1ea8e5a81113950a976c7f542c98 /test/test_pathod.py
parenta5567094ace40527f912b4e9f90d71635d50eb6d (diff)
downloadmitmproxy-d8b79e99829d307dd9cd8dc03872c90236ca173f.tar.gz
mitmproxy-d8b79e99829d307dd9cd8dc03872c90236ca173f.tar.bz2
mitmproxy-d8b79e99829d307dd9cd8dc03872c90236ca173f.zip
Scripts to reproducibly generate the test certificate
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r--test/test_pathod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py
index 09aaca8e..c966222f 100644
--- a/test/test_pathod.py
+++ b/test/test_pathod.py
@@ -70,7 +70,7 @@ class TestCustomCert(tutils.DaemonTests):
r = self.pathoc(r"get:/p/202")
assert r.status_code == 202
assert r.sslinfo
- assert "Widgits" in str(r.sslinfo.certchain[0].get_subject())
+ assert "test.com" in str(r.sslinfo.certchain[0].get_subject())
class TestSSLCN(tutils.DaemonTests):