diff --git a/tests/test_email.py b/tests/test_email.py
index 0aa6027c6cff8cc1ab1dbe3cfc6a235ec18173c2..5fb7709f10bef417e7c200c7ac05effe42503894 100755
--- a/tests/test_email.py
+++ b/tests/test_email.py
@@ -35,7 +35,7 @@ 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.warnings("Postfix is not listening on localhost:25")
+        u.warning("Postfix is not listening on localhost:25")
         warnings += 1
     else:
         u.success("Postfix is listening on localhost:25")