on xenial help sign in
Added logging, looking at timing on VMs etc.
80ea1a5Christopher Lee
tests/autopilot/unity8/shell/tests/__init__.py+2−1
@@ -140,14 +140,15 @@ class Unity8TestCase(AutopilotTestCase):
140 app_type='qt',
140 app_type='qt',
141 emulator_base=Unity8EmulatorBase
141 emulator_base=Unity8EmulatorBase
142 )
142 )
143− logger.debug("Started unity8 shell, backend is: %r", app_proxy._Backend)
144 self._set_proxy(app_proxy)
143 self._set_proxy(app_proxy)
145
144
146 # Ensure that the dash is visible before we return:
145 # Ensure that the dash is visible before we return:
146+ logger.debug("Unity8 started, waiting for Dash.")
147 self.assertThat(
147 self.assertThat(
148 self.get_dash().showScopeOnLoaded,
148 self.get_dash().showScopeOnLoaded,
149 Eventually(Equals(""))
149 Eventually(Equals(""))
150 )
150 )
151+ logger.debug("Unity8 Dash loaded and ready.")
151 return app_proxy
152 return app_proxy
152
153
153 def _setup_extra_mock_environment_patch(self):
154 def _setup_extra_mock_environment_patch(self):