mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 07:03:39 -06:00
ipatests: skip HSM test if pki < 11.5.9
The test TestHSMNegative should be skipped if PKI is too old, but its uninstall method does not check the PKI version. Add a call to check_version in the class uninstall method. Fixes: https://pagure.io/freeipa/issue/9648 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Michal Polovka <mpolovka@redhat.com>
This commit is contained in:
parent
8046023fc4
commit
84751a26a9
@ -835,6 +835,7 @@ class TestHSMNegative(IntegrationTest):
|
||||
|
||||
@classmethod
|
||||
def uninstall(cls, mh):
|
||||
check_version(cls.master)
|
||||
cls.master.run_command(
|
||||
['softhsm2-util', '--delete-token', '--token', cls.token_name],
|
||||
raiseonerr=False
|
||||
|
Loading…
Reference in New Issue
Block a user