mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: remove dnf workaround from test_epn.py
73c02f635
introduced a workaround to make sure the latest version of (free)ipa-client-epn was installed. Sincecc624fb17
this should not be needed anymore. Fixes: https://pagure.io/freeipa/issue/8391 Signed-off-by: François Cami <fcami@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
0df4e8813d
commit
630c408f9e
@ -216,22 +216,6 @@ class TestEPN(IntegrationTest):
|
||||
"""Check that the EPN configuration file is installed.
|
||||
https://pagure.io/freeipa/issue/8374
|
||||
"""
|
||||
# workaround for https://github.com/freeipa/freeipa-pr-ci/issues/378
|
||||
rpm_q_cmds = [
|
||||
["rpm", "-qi", "freeipa-client"],
|
||||
["rpm", "-qi", "freeipa-client-epn"],
|
||||
["rpm", "-qc", "freeipa-client-epn"],
|
||||
["rpm", "-V", "freeipa-client-epn"],
|
||||
["rpm", "-qvc", "freeipa-client-epn"],
|
||||
["ls", "-l", "/etc/ipa", "/etc/ipa/epn"],
|
||||
]
|
||||
for cmd in rpm_q_cmds:
|
||||
self.master.run_command(cmd, raiseonerr=False)
|
||||
tasks.uninstall_packages(self.master, ["*ipa-client-epn"])
|
||||
tasks.install_packages(self.master, ["*ipa-client-epn"])
|
||||
for cmd in rpm_q_cmds:
|
||||
self.master.run_command(cmd, raiseonerr=False)
|
||||
# end workaround
|
||||
epn_conf = "/etc/ipa/epn.conf"
|
||||
epn_template = "/etc/ipa/epn/expire_msg.template"
|
||||
cmd1 = self.master.run_command(["rpm", "-qc", "freeipa-client-epn"])
|
||||
|
Loading…
Reference in New Issue
Block a user