@@ -31,21 +31,14 @@ from ubuntuuitoolkit import fixture_setup
3131
3232from unity8 import (
3333 get_binary_path,
34+ get_mocks_library_path,
35+ get_default_extra_mock_libraries,
36+ get_data_dirs,
3437 sensors,
38+ shell,
3539 process_helpers
3640)
3741
38−from unity8.shell import emulators
39−
40−from unity8.shell.emulators import (
41− main_window as main_window_emulator
42−)
43−
44−from unity8 import (
45− get_mocks_library_path,
46− get_default_extra_mock_libraries,
47− get_data_dirs
48−)
4942
5043logger = logging.getLogger(__name__)
5144
@@ -140,8 +133,7 @@ class LaunchUnityWithFakeSensors(fixtures.Fixture):
140133 args = [binary_arg] + env_args
141134 self.unity_proxy = process_helpers.restart_unity_with_testability(
142135 *args)
143− self.main_win = self.unity_proxy.select_single(
144− main_window_emulator.QQuickView)
136+ self.main_win = self.unity_proxy.select_single(shell.QQuickView)
145137
146138 def _create_sensors(self):
147139 # Wait for unity to start running.
@@ -159,8 +151,6 @@ class LaunchUnityWithFakeSensors(fixtures.Fixture):
159151 fifo.write('create light 0 10 1\n')
160152 fifo.write('create proximity\n')
161153
162−logger = logging.getLogger(__name__)
163−
164154
165155class RestartUnityWithTestability(fixtures.Fixture):
166156