diff --git a/tests/unittests/config/test_cc_set_passwords.py b/tests/unittests/config/test_cc_set_passwords.py index 73cb3d4906c..c068f62d84f 100644 --- a/tests/unittests/config/test_cc_set_passwords.py +++ b/tests/unittests/config/test_cc_set_passwords.py @@ -566,7 +566,7 @@ def _get_str_class_num(self, str): [ any(c.islower() for c in str), any(c.isupper() for c in str), - any(c.isupper() for c in str), + any(c.isdigit() for c in str), any(c in string.punctuation for c in str), ] )