aboutsummaryrefslogtreecommitdiff
path: root/ca/tests/yamlconf.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-07-18 17:08:13 +0000
committerRob Austein <sra@hactrn.net>2014-07-18 17:08:13 +0000
commit0c945963b240cbc0b4155ead94205e9a6956fbf1 (patch)
treeaf08c2d0efc296584fb5d424bd402c425b8308e7 /ca/tests/yamlconf.py
parente2b9b042765d3e42bf9166d3f7980949a38a70b9 (diff)
parent4d78736439f3cf313d7f05ee59dbae3822dfbf40 (diff)
Pull changes from trunk.
svn path=/branches/tk705/; revision=5903
Diffstat (limited to 'ca/tests/yamlconf.py')
-rw-r--r--ca/tests/yamlconf.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ca/tests/yamlconf.py b/ca/tests/yamlconf.py
index acc56497..1b339a89 100644
--- a/ca/tests/yamlconf.py
+++ b/ca/tests/yamlconf.py
@@ -357,8 +357,10 @@ class allocation(object):
path = self.path(fn)
if not quiet:
print "Writing", path
- xmlns = "{http://www.hactrn.net/uris/rpki/router-certificate/}"
- xml = lxml.etree.Element(xmlns + "router_certificate_requests", version = "1")
+ xmlns = rpki.relaxng.router_certificate.xmlns
+ xml = lxml.etree.Element(xmlns + "router_certificate_requests",
+ version = rpki.relaxng.router_certificate.version,
+ nsmap = rpki.relaxng.router_certificate.nsmap)
for r in self.router_certs:
x = lxml.etree.SubElement(xml, xmlns + "router_certificate_request",
router_id = str(r.router_id),