on xenial help sign in
Don't remember why this is here, remove
commitded80f45973f4011480d4dd8c502e1fc1e4f5bff authorAlbert Astals <albert.astals@canonical.com> dateWed 6 Aug 2014, 09:43 (12 years ago) parent4ca9ffe
1 file changed−9
tests/autopilot/unity8/shell/emulators/dash.py−9
tests/autopilot/unity8/shell/emulators/dash.py−9
@@ -18,7 +18,6 @@
1818#
1919
2020import logging
21−import time
2221import ubuntuuitoolkit
2322
2423from unity8.shell import emulators
@@ -80,9 +79,7 @@ class Dash(emulators.UnityEmulatorBase):
8079
8180 """
8281 scope_loader = self._get_scope_loader(scope_id)
83− print ("open_scope", scope_id, scope_loader)
8482 if scope_loader.isCurrent:
85− print ("scope_loader.isCurrent")
8683 logger.info('The scope is already open.')
8784 return self._get_scope_from_loader(scope_loader)
8885 else:
@@ -97,12 +94,6 @@ class Dash(emulators.UnityEmulatorBase):
9794 'No scope found with id {0}'.format(scope_id))
9895
9996 def _get_scope_from_loader(self, loader):
100− print ("_get_scope_from_loader", loader, loader.isCurrent, loader.isLoaded, loader.get_children())
101− i = 0
102− time.sleep(1)
103− while len(loader.get_children()) < 1 and i < 5:
104− time.sleep(1)
105− i = i + 1
10697 return loader.get_children()[0]
10798
10899 def _open_scope_scrolling(self, scope_loader):