From d9ab11a2327f01243f73340bdc6cb91df629bf8e Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 28 Nov 2014 17:16:39 +0100 Subject: test_integration: Use collect_log from the host, not the testing class The testing class no longer has this method. Reviewed-By: Tomas Babej --- ipatests/test_integration/test_caless.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ipatests/test_integration/test_caless.py') diff --git a/ipatests/test_integration/test_caless.py b/ipatests/test_integration/test_caless.py index caf90dd54..d0263a9c9 100644 --- a/ipatests/test_integration/test_caless.py +++ b/ipatests/test_integration/test_caless.py @@ -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', -- cgit