Repair unit tests.

This commit is contained in:
Aldo Cortesi 2012-02-27 20:34:47 +13:00
parent 764724748b
commit 688faa9baa
1 changed files with 2 additions and 3 deletions

View File

@ -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"),