From a1ccdc33dfc5de3480b9ad407f4a95d01258008d Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 19 Feb 2015 15:04:47 +0100 Subject: [PATCH] webui-ci: do not open 2 browser windows Reviewed-By: Milan Kubik --- ipatests/test_webui/ui_driver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ipatests/test_webui/ui_driver.py b/ipatests/test_webui/ui_driver.py index 7335f115a..4b382d8fb 100644 --- a/ipatests/test_webui/ui_driver.py +++ b/ipatests/test_webui/ui_driver.py @@ -123,9 +123,9 @@ class UI_driver(object): self.config = config if not config: self.load_config() - if not self.driver: - self.driver = self.get_driver() - self.get_driver().maximize_window() + if not self.driver: + self.driver = self.get_driver() + self.driver.maximize_window() def teardown(self): self.driver.quit()