diff options
author | Petr Viktorin <pviktori@redhat.com> | 2014-11-28 17:16:39 +0100 |
---|---|---|
committer | Tomas Babej <tbabej@redhat.com> | 2014-12-11 07:04:58 +0100 |
commit | d9ab11a2327f01243f73340bdc6cb91df629bf8e (patch) | |
tree | ed07335e19438522bae832bef798afe8e50df68d /ipatests/test_integration/test_caless.py | |
parent | 74f7d67fd5484137b77e54ab50d7869daa6a7db5 (diff) | |
download | freeipa-d9ab11a2327f01243f73340bdc6cb91df629bf8e.tar.gz freeipa-d9ab11a2327f01243f73340bdc6cb91df629bf8e.tar.xz freeipa-d9ab11a2327f01243f73340bdc6cb91df629bf8e.zip |
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>
Diffstat (limited to 'ipatests/test_integration/test_caless.py')
-rw-r--r-- | ipatests/test_integration/test_caless.py | 16 |
1 files changed, 8 insertions, 8 deletions
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', |