webui-ci: do not open 2 browser windows

Reviewed-By: Milan Kubik <mkubik@redhat.com>
This commit is contained in:
Petr Vobornik 2015-02-19 15:04:47 +01:00
parent b61f4bc538
commit a1ccdc33df

View File

@ -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()