Skip to content

Commit

Permalink
test: Fix duplicate judgment conditions in password generation (#5835)
Browse files Browse the repository at this point in the history
The problem was introduced by commit 879945f
  • Loading branch information
xiaoge1001 authored Oct 21, 2024
1 parent d1d7af6 commit 4c156a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unittests/config/test_cc_set_passwords.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]
)
Expand Down

0 comments on commit 4c156a8

Please sign in to comment.