From 688faa9baa79750642ffbf4241bb166f594e4179 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 27 Feb 2012 20:34:47 +1300 Subject: Repair unit tests. --- test/test_utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test') 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"), -- cgit v1.2.3