From 69a8f082468818c10f5de14c3a8ff4c22e2f2c68 Mon Sep 17 00:00:00 2001 From: Spitap Date: Wed, 5 Apr 2023 18:09:54 +0200 Subject: [PATCH] fixed test --- tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests.py b/tests.py index 6f8fdf6..e77d6ae 100644 --- a/tests.py +++ b/tests.py @@ -99,7 +99,7 @@ class ConfigFileTestCase(unittest.TestCase): def test_interactive_mode_letsencrypt(self, mock_user_input): """Check interactive mode.""" mock_user_input.side_effect = [ - "1", "admin@example.test", "0", "", "", "", "", "" + "1", "admin@example.test", "0", "", "", "", "" ] with open(os.devnull, "w") as fp: sys.stdout = fp @@ -126,8 +126,8 @@ class ConfigFileTestCase(unittest.TestCase): "example.test"]) self.assertTrue(os.path.exists(self.cfgfile)) self.assertIn( - "modoboa automx amavis clamav dovecot nginx razor postfix" - " postwhite spamassassin uwsgi", + "fail2ban modoboa automx rspamd clamav dovecot nginx razor " + "postfix postwhite uwsgi radicale", out.getvalue() ) self.assertNotIn("It seems that your config file is outdated.",