Skip to content

Commit 47b1f4d

Browse files
committed
Revert last commit
1 parent b3535e1 commit 47b1f4d

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/unit/plugins/modules/test_cert_info.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -131,23 +131,6 @@ def test_module_exit_when_path_and_password_correct(self):
131131
})
132132
cert_info.main()
133133

134-
def test_module_exit_when_password_wrong_with_passphrase_check(self):
135-
with self.assertRaises(AnsibleExitJson):
136-
set_module_args({
137-
'path': 'molecule/plugins/files/es-ca/elastic-stack-ca.p12',
138-
'passphrase': 'PleaseChangeMe-Wrong',
139-
'passphrase_check': True
140-
})
141-
cert_info.main()
142-
143-
def test_module_exit_when_password_correct_with_passphrase_check(self):
144-
with self.assertRaises(AnsibleExitJson):
145-
set_module_args({
146-
'path': 'molecule/plugins/files/es-ca/elastic-stack-ca.p12',
147-
'passphrase': 'PleaseChangeMe',
148-
'passphrase_check': True
149-
})
150-
cert_info.main()
151134

152135
if __name__ == '__main__':
153136
unittest.main()

0 commit comments

Comments
 (0)