diff options
Diffstat (limited to 'ca/tests/testpoke.py')
-rw-r--r-- | ca/tests/testpoke.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ca/tests/testpoke.py b/ca/tests/testpoke.py index c28ed397..8a443e0d 100644 --- a/ca/tests/testpoke.py +++ b/ca/tests/testpoke.py @@ -74,9 +74,9 @@ def get_PEM_chain(name, cert = None): if cert is not None: chain.append(cert) if name in yaml_data: - chain.extend([rpki.x509.X509(PEM = x) for x in yaml_data[name]]) + chain.extend(rpki.x509.X509(PEM = x) for x in yaml_data[name]) elif name + "-file" in yaml_data: - chain.extend([rpki.x509.X509(PEM_file = x) for x in yaml_data[name + "-file"]]) + chain.extend(rpki.x509.X509(PEM_file = x) for x in yaml_data[name + "-file"]) return chain def query_up_down(q_pdu): @@ -105,8 +105,7 @@ def query_up_down(q_pdu): msg = q_der, url = yaml_data["posturl"], callback = done, - errback = fail, - content_type = rpki.up_down.content_type) + errback = fail) def do_list(): query_up_down(rpki.up_down.list_pdu()) |