mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -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:
1 parent
e8189933c7
commit
bbc232e489
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user