From 846ae2b3f4807f2b1897811b9fe9978103c2451a Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 5 Jun 2013 18:30:39 +0200 Subject: tests: Configure/unconfigure remote hosts Set up the hostname, /etc/resolv.conf, and /etc/hosts on remote hosts in the test setup. Undo the changes in test teardown. Part of the work for https://fedorahosted.org/freeipa/ticket/3621 --- ipatests/beakerlib_plugin.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipatests/beakerlib_plugin.py') diff --git a/ipatests/beakerlib_plugin.py b/ipatests/beakerlib_plugin.py index bd4f8465..770fced4 100644 --- a/ipatests/beakerlib_plugin.py +++ b/ipatests/beakerlib_plugin.py @@ -166,6 +166,7 @@ class BeakerLibPlugin(Plugin): self.log_exception(err) self.run_beakerlib_command( ['rlFail', 'Test failed: unhandled exception']) + self.collect_logs(test.context) def addFailure(self, test, err): self.log_exception(err) -- cgit