aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_test.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-03-02 15:13:56 +1300
committerAldo Cortesi <aldo@nullcube.com>2014-03-02 15:13:56 +1300
commit234d326080ac471ed5a92f08db458f29568f0dd4 (patch)
tree703698168c0f143f12fdf38aa68e73969772b358 /test/test_test.py
parent091e539a0203ca272e3a4ba2a9f23331bbd85005 (diff)
downloadmitmproxy-234d326080ac471ed5a92f08db458f29568f0dd4.tar.gz
mitmproxy-234d326080ac471ed5a92f08db458f29568f0dd4.tar.bz2
mitmproxy-234d326080ac471ed5a92f08db458f29568f0dd4.zip
Implement custom certs.
Diffstat (limited to 'test/test_test.py')
-rw-r--r--test/test_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_test.py b/test/test_test.py
index 89889ba1..753d26f7 100644
--- a/test/test_test.py
+++ b/test/test_test.py
@@ -23,9 +23,9 @@ class TestDaemonManual:
def test_startstop_ssl_explicit(self):
ssloptions = dict(
- keyfile = utils.data.path("resources/server.key"),
- certfile = utils.data.path("resources/server.crt"),
- ssl_after_connect = False
+ certfile = tutils.test_data.path("data/testkey.pem"),
+ cacert = tutils.test_data.path("data/testkey.pem"),
+ ssl_after_connect = False
)
d = test.Daemon(ssl=ssloptions)
rsp = requests.get("https://localhost:%s/p/202:da"%d.port, verify=False)