Skip to content

Commit 64eb7c9

Browse files
committed
Debug
1 parent a78a42b commit 64eb7c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/plugins/modules/test_cert_info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ def exit_json(*args, **kwargs):
8282
# if passphrase_check mode is enabled
8383
else:
8484
# fail checks, if passphrase is wrong and passphrase_check kwarg is not False
85-
if args['passphrase'] is 'PleaseChangeMe-Wrong' and kwargs['passphrase_check'] is not False:
85+
if args['passphrase'] == 'PleaseChangeMe-Wrong' and kwargs['passphrase_check'] is not False:
8686
checks_passed = False
8787
# fail checks, if passphrase is correct and passphrase_check kwarg is not True
88-
if args['passphrase'] is 'PleaseChangeMe' and kwargs['passphrase_check'] is not True:
88+
if args['passphrase'] == 'PleaseChangeMe' and kwargs['passphrase_check'] is not True:
8989
checks_passed = False
9090

9191
if checks_passed:

0 commit comments

Comments
 (0)