Commit a601143b authored by Adrien Dorsaz's avatar Adrien Dorsaz

test-acme-dns-tiny: fix subprocess open

parent ae0f6327
Pipeline #187 failed with stage
in 28 minutes
......@@ -131,7 +131,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", "", ['--csr', self.configs['cnameCSR'], self.configs['goodCNameWithoutCSR']]
"python3", "", "--csr {0} {1}".format(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