Files
freeipa/ipatests
Alexander Bokovoy 621af275c3 test_otp: do not use paramiko unless it is really needed
paramiko cannot be used in FIPS mode. We have few tests that import
generic methods from test_otp (add_token/del_token) and those tests fail
in FIPS mode due to unconditional 'import paramiko'.

Instead, move 'import paramiko' to the ssh_2f() helper which is not used
in FIPS mode (the whole SSH 2FA test is skipped then).

Related: https://pagure.io/freeipa/issue/9119

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
2022-03-16 11:14:35 +02:00
..
2022-03-11 13:37:08 -05:00
2019-07-16 13:23:21 +03:00
2020-10-26 17:11:19 +11:00
2021-01-21 13:51:45 +01:00
2022-03-11 13:37:08 -05:00
2013-06-17 19:22:50 +02:00
2022-03-11 13:37:08 -05:00
2015-10-22 18:34:46 +02:00
2022-03-11 13:37:08 -05:00
2016-10-20 18:43:37 +02:00
2021-06-16 10:28:17 -04:00
2022-03-11 13:37:08 -05:00