Commit e1f23bea authored by Adrien Dorsaz's avatar Adrien Dorsaz

test-acme-dns-tiny: fix subprocess.Popen argument list

parent 007a2ec4
Pipeline #188 passed with stage
in 32 minutes and 38 seconds
......@@ -144,7 +144,7 @@ class TestACMEDNSTiny(unittest.TestCase):
def test_success_cli_with_csr_option(self):
""" Successfully issue a certificate via command line interface using CSR option"""
certout, err = subprocess.Popen([
"python3", "acme_dns_tiny.py", "--csr {0} {1}".format(self.configs['cnameCSR'], self.configs['goodCNameWithoutCSR'])
"python3", "acme_dns_tiny.py", "--csr", self.configs['cnameCSR'], self.configs['goodCNameWithoutCSR']
], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
certchain = certout.decode("utf8")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment