mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
test_integration: Use collect_log from the host, not the testing class
The testing class no longer has this method. Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
parent
74f7d67fd5
commit
d9ab11a232
@ -145,11 +145,11 @@ class CALessBase(IntegrationTest):
|
||||
for filename in set(files_to_copy):
|
||||
cls.copy_cert(host, filename)
|
||||
|
||||
cls.collect_log(host, paths.IPASERVER_INSTALL_LOG)
|
||||
cls.collect_log(host, paths.IPACLIENT_INSTALL_LOG)
|
||||
host.collect_log(paths.IPASERVER_INSTALL_LOG)
|
||||
host.collect_log(paths.IPACLIENT_INSTALL_LOG)
|
||||
inst = host.domain.realm.replace('.', '-')
|
||||
cls.collect_log(host, paths.SLAPD_INSTANCE_ERROR_LOG_TEMPLATE % inst)
|
||||
cls.collect_log(host, paths.SLAPD_INSTANCE_ACCESS_LOG_TEMPLATE % inst)
|
||||
host.collect_log(paths.SLAPD_INSTANCE_ERROR_LOG_TEMPLATE % inst)
|
||||
host.collect_log(paths.SLAPD_INSTANCE_ACCESS_LOG_TEMPLATE % inst)
|
||||
|
||||
args = [
|
||||
'ipa-server-install',
|
||||
@ -216,11 +216,11 @@ class CALessBase(IntegrationTest):
|
||||
os.path.join(self.cert_dir, filename),
|
||||
os.path.join(master.config.test_dir, filename))
|
||||
|
||||
self.collect_log(replica, paths.IPAREPLICA_INSTALL_LOG)
|
||||
self.collect_log(replica, paths.IPACLIENT_INSTALL_LOG)
|
||||
replica.collect_log(paths.IPAREPLICA_INSTALL_LOG)
|
||||
replica.collect_log(paths.IPACLIENT_INSTALL_LOG)
|
||||
inst = replica.domain.realm.replace('.', '-')
|
||||
self.collect_log(replica, paths.SLAPD_INSTANCE_ERROR_LOG_TEMPLATE % inst)
|
||||
self.collect_log(replica, paths.SLAPD_INSTANCE_ACCESS_LOG_TEMPLATE % inst)
|
||||
replica.collect_log(paths.SLAPD_INSTANCE_ERROR_LOG_TEMPLATE % inst)
|
||||
replica.collect_log(paths.SLAPD_INSTANCE_ACCESS_LOG_TEMPLATE % inst)
|
||||
|
||||
args = [
|
||||
'ipa-replica-prepare',
|
||||
|
Loading…
Reference in New Issue
Block a user