aboutsummaryrefslogtreecommitdiff
path: root/rpkid/tests
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-05-07 02:55:00 +0000
committerRob Austein <sra@hactrn.net>2012-05-07 02:55:00 +0000
commit9f4a94e7389f77f3286aaae0c6e7bae3a15c282c (patch)
tree23db3d7c8c7c99c816486a2e00b7b20098ec67d0 /rpkid/tests
parent88e404f1e303fc9e4b4439f301f29fc66643c21e (diff)
parent636e3c590c96e0f0ab0c95a6982a5056e2cea9fd (diff)
Merge to trunk. Testbed changes and a few bugfixes that came along
while tracking down testbed issues. See #33. svn path=/trunk/; revision=4473
Diffstat (limited to 'rpkid/tests')
-rw-r--r--rpkid/tests/yamltest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpkid/tests/yamltest.py b/rpkid/tests/yamltest.py
index 32434147..12fd7f85 100644
--- a/rpkid/tests/yamltest.py
+++ b/rpkid/tests/yamltest.py
@@ -118,6 +118,8 @@ class allocation_db(list):
self.root.crl_interval = 24 * 60 * 60
if self.root.regen_margin is None:
self.root.regen_margin = 24 * 60 * 60
+ if self.root.base.valid_until is None:
+ self.root.base.valid_until = rpki.sundial.now() + rpki.sundial.timedelta(days = 2)
for a in self:
if a.sia_base is None:
if a.runs_pubd: