summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Woerner <twoerner@redhat.com>2018-08-07 17:51:28 +0200
committerChristian Heimes <cheimes@redhat.com>2018-08-13 12:35:06 +0200
commit2a788f1a608370bf22dcc786202c936365725a5b (patch)
treea75a449fc65876b7f06b9ded6873915177d17a86
parentb99dc46a9c9977e67641783a7b5cd69385627875 (diff)
downloadfreeipa-2a788f1a608370bf22dcc786202c936365725a5b.tar.gz
freeipa-2a788f1a608370bf22dcc786202c936365725a5b.tar.xz
freeipa-2a788f1a608370bf22dcc786202c936365725a5b.zip
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>
-rw-r--r--ipatests/test_ipaserver/test_install/test_installer.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/ipatests/test_ipaserver/test_install/test_installer.py b/ipatests/test_ipaserver/test_install/test_installer.py
index a33680422..d5365d43b 100644
--- a/ipatests/test_ipaserver/test_install/test_installer.py
+++ b/ipatests/test_ipaserver/test_install/test_installer.py
@@ -146,31 +146,3 @@ class TestReplicaInstaller(InstallerTestBase):
assert_equal(ic.password, self.PASSWORD.value)
assert_equal(ic.principal, self.PRINCIPAL.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)