mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: Drop test_password_option_DL0
DL0 is not supported anymore therefore this test is failing. See: https://pagure.io/freeipa/issue/7669 Signed-off-by: Thomas Woerner <twoerner@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
committed by
Christian Heimes
parent
b99dc46a9c
commit
2a788f1a60
@@ -146,31 +146,3 @@ class TestReplicaInstaller(InstallerTestBase):
|
|||||||
assert_equal(ic.password, self.PASSWORD.value)
|
assert_equal(ic.password, self.PASSWORD.value)
|
||||||
assert_equal(ic.principal, self.PRINCIPAL.value)
|
assert_equal(ic.principal, self.PRINCIPAL.value)
|
||||||
assert_equal(ic.admin_password, self.ADMIN_PASSWORD.value)
|
assert_equal(ic.admin_password, self.ADMIN_PASSWORD.value)
|
||||||
|
|
||||||
def test_password_option_DL0(self):
|
|
||||||
with tempfile.NamedTemporaryFile() as repl_file:
|
|
||||||
REPLICA_FILE_PATH = repl_file.name
|
|
||||||
# when --password is set in DL0 installation, it sets both
|
|
||||||
# password and dm_password attributes
|
|
||||||
for passwd_opt in self.all_option_permutations(self.PASSWORD):
|
|
||||||
ic = self.get_installer_instance(
|
|
||||||
self.combine_options(passwd_opt, REPLICA_FILE_PATH)
|
|
||||||
)
|
|
||||||
assert_equal(ic.password, self.PASSWORD.value)
|
|
||||||
assert_equal(ic.dm_password, self.PASSWORD.value)
|
|
||||||
assert_equal(ic.admin_password, None)
|
|
||||||
assert_equal(ic.principal, None)
|
|
||||||
|
|
||||||
# try adding admin_password just to see it is set correctly
|
|
||||||
for passwd_opt, adm_password_opt in (
|
|
||||||
self.all_option_permutations(
|
|
||||||
self.PASSWORD, self.ADMIN_PASSWORD)
|
|
||||||
):
|
|
||||||
ic = self.get_installer_instance(
|
|
||||||
self.combine_options(passwd_opt, adm_password_opt,
|
|
||||||
REPLICA_FILE_PATH)
|
|
||||||
)
|
|
||||||
assert_equal(ic.password, self.PASSWORD.value)
|
|
||||||
assert_equal(ic.admin_password, self.ADMIN_PASSWORD.value)
|
|
||||||
assert_equal(ic.dm_password, self.PASSWORD.value)
|
|
||||||
assert_equal(ic.principal, None)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user