Fixed tests

This commit is contained in:
Antoine Nguyen
2023-09-14 13:27:24 +02:00
parent dea95ee1ba
commit 576c696472

View File

@@ -127,10 +127,11 @@ class ConfigFileTestCase(unittest.TestCase):
self.assertTrue(os.path.exists(self.cfgfile)) self.assertTrue(os.path.exists(self.cfgfile))
self.assertIn( self.assertIn(
"fail2ban modoboa automx rspamd clamav dovecot nginx razor " "fail2ban modoboa automx rspamd clamav dovecot nginx razor "
"postfix postwhite uwsgi radicale", "postfix uwsgi radicale",
out.getvalue() out.getvalue()
) )
self.assertNotIn("It seems that your config file is outdated.", self.assertNotIn(
"It seems that your config file is outdated.",
out.getvalue() out.getvalue()
) )