Added shell=True arg

This commit is contained in:
Antoine Nguyen
2026-02-20 15:39:50 +01:00
parent 27a7aa133d
commit 5effff7ddf
+1 -1
View File
@@ -30,7 +30,7 @@ class DeployTest(unittest.TestCase):
f"modoboa-admin.py deploy --collectstatic "
f"--dburl {dburl} --domain localhost --admin-username admin {self.projname}"
)
code, output = exec_cmd(cmd, cwd=self.workdir)
code, output = exec_cmd(cmd, cwd=self.workdir, shell=True)
self.assertEqual(code, 0)