From 5effff7ddf03837f223c4c45dbc7ece6726dc4b2 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Fri, 20 Feb 2026 15:39:50 +0100 Subject: [PATCH] Added shell=True arg --- tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.py b/tests.py index 36a9512bb..6a9e1a9ea 100644 --- a/tests.py +++ b/tests.py @@ -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)