mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixing TestBackupAndRestore::test_full_backup_and_restore_with_removed_users
The test as it was, was testing the backup and restore based on previous backups and restore, not with an actual installation. Now, with a clear setup for each test, the test mentioned above will not fail to do a lookup (using the host command, in check_dns method) for the master domain. Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
@@ -177,6 +177,8 @@ class TestBackupAndRestore(IntegrationTest):
|
||||
|
||||
def test_full_backup_and_restore_with_removed_users(self):
|
||||
"""regression test for https://fedorahosted.org/freeipa/ticket/3866"""
|
||||
tasks.uninstall_master(self.master)
|
||||
tasks.install_master(self.master)
|
||||
with restore_checker(self.master):
|
||||
backup_path = backup(self.master)
|
||||
|
||||
@@ -200,6 +202,8 @@ class TestBackupAndRestore(IntegrationTest):
|
||||
|
||||
def test_full_backup_and_restore_with_selinux_booleans_off(self):
|
||||
"""regression test for https://fedorahosted.org/freeipa/ticket/4157"""
|
||||
tasks.uninstall_master(self.master)
|
||||
tasks.install_master(self.master)
|
||||
with restore_checker(self.master):
|
||||
backup_path = backup(self.master)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user