diff --git a/tests/test_email.py b/tests/test_email.py index ac86b665fabce20168e6831a797c8e0aa8a62b03..0aa6027c6cff8cc1ab1dbe3cfc6a235ec18173c2 100755 --- a/tests/test_email.py +++ b/tests/test_email.py @@ -35,8 +35,8 @@ def check_listen() -> tuple: status, out = subprocess.getstatusoutput("ss -pant | grep master | grep ':25'") if status != 0 or ("127.0.0.1:25" not in out and "[::1]:25" not in out): - u.error("Postfix is not listening on localhost:25") - errors += 1 + u.warnings("Postfix is not listening on localhost:25") + warnings += 1 else: u.success("Postfix is listening on localhost:25")