diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-02-27 20:34:47 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-02-27 20:34:47 +1300 |
commit | 688faa9baa79750642ffbf4241bb166f594e4179 (patch) | |
tree | c922c1f8b44087a270caad20ec91caeb3e64ddb4 /test | |
parent | 764724748bf27466594be9755914ff25d52a66c5 (diff) | |
download | mitmproxy-688faa9baa79750642ffbf4241bb166f594e4179.tar.gz mitmproxy-688faa9baa79750642ffbf4241bb166f594e4179.tar.bz2 mitmproxy-688faa9baa79750642ffbf4241bb166f594e4179.zip |
Repair unit tests.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_utils.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 9ad0f006..79ddf53d 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -147,14 +147,13 @@ class udummy_cert(libpry.AutoTree): cacert = os.path.join(d, "foo/cert.cnf") assert utils.dummy_ca(cacert) p = utils.dummy_cert( - #os.path.join(d, "foo"), - "/tmp", + os.path.join(d, "foo"), cacert, "foo.com", ["one.com", "two.com", "*.three.com"] ) assert os.path.exists(p) - + # Short-circuit assert utils.dummy_cert( os.path.join(d, "foo"), |