From 247d19c8c1c73e0066087378ab732a3f58c79ab7 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Tue, 17 Jun 2025 10:44:22 +0200 Subject: [PATCH] Use ipv4 address for deploy test --- tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests.py b/tests.py index 1f31666a9..3d10f317c 100644 --- a/tests.py +++ b/tests.py @@ -15,7 +15,7 @@ else: class DeployTest(unittest.TestCase): dbtype = DB - dbhost = "localhost" + dbhost = "127.0.0.1" dbport = PORT projname = "modoboa_test" dbuser = DB == "mysql" and "modoboa" or "postgres" @@ -30,7 +30,6 @@ class DeployTest(unittest.TestCase): f"modoboa-admin.py deploy --collectstatic " f"--dburl {dburl} --domain localhost --admin-username admin {self.projname}" ) - print(cmd) code, output = exec_cmd(cmd, cwd=self.workdir) print(output) self.assertEqual(code, 0)