From 576c6964725708ee6093b86c07500efefc710365 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Thu, 14 Sep 2023 13:27:24 +0200 Subject: [PATCH] Fixed tests --- tests.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests.py b/tests.py index e77d6ae..cfb0d14 100644 --- a/tests.py +++ b/tests.py @@ -127,11 +127,12 @@ class ConfigFileTestCase(unittest.TestCase): self.assertTrue(os.path.exists(self.cfgfile)) self.assertIn( "fail2ban modoboa automx rspamd clamav dovecot nginx razor " - "postfix postwhite uwsgi radicale", + "postfix uwsgi radicale", out.getvalue() ) - self.assertNotIn("It seems that your config file is outdated.", - out.getvalue() + self.assertNotIn( + "It seems that your config file is outdated.", + out.getvalue() ) @patch("modoboa_installer.utils.user_input")