aboutsummaryrefslogtreecommitdiff
path: root/rpkid/tests/smoketest.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2011-12-12 21:07:56 +0000
committerRob Austein <sra@hactrn.net>2011-12-12 21:07:56 +0000
commit63676e02d7e58487cb0794659de6602168e36e90 (patch)
tree3c40faec096fe239a14d5a0348a3801523b5bc9c /rpkid/tests/smoketest.py
parent9151b67621f017e63a046b872dee1008dff6da5a (diff)
Checkpoint. Custom IRDB model fields to handle automatic type
conversion. Debug last night's rewrite of BPKI certificate issuance. svn path=/branches/tk100/; revision=4117
Diffstat (limited to 'rpkid/tests/smoketest.py')
-rw-r--r--rpkid/tests/smoketest.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/rpkid/tests/smoketest.py b/rpkid/tests/smoketest.py
index 8145a0eb..189f6d6a 100644
--- a/rpkid/tests/smoketest.py
+++ b/rpkid/tests/smoketest.py
@@ -868,7 +868,12 @@ class allocation(object):
except IOError:
serial = 1
- x = parent.cross_certify(keypair, child, serial, notAfter, now)
+ x = parent.bpki_cross_certify(
+ keypair = keypair,
+ source_cert = child,
+ serial = serial,
+ notAfter = notAfter,
+ now = now)
f = open(serial_file, "w")
f.write("%02x\n" % (serial + 1))