@@ -47,14 +47,14 @@ class MainWindowTestCase(tests.UnityTestCase):
4747 unity_proxy = self.launch_unity()
4848 process_helpers.unlock_unity(unity_proxy)
4949
50− def test_search(self):
51− self.main_window.search('Test')
52− text_field = self.main_window.get_dash()._get_search_text_field()
53− self.assertEqual(text_field.text, 'Test')
54−
5550
5651class DashEmulatorTestCase(tests.DashBaseTestCase):
5752
53+ def test_search(self):
54+ self.dash.enter_search_query('Test')
55+ text_field = self.dash._get_search_text_field()
56+ self.assertEqual(text_field.text, 'Test')
57+
5858 def test_open_unexisting_scope(self):
5959 scope_name = 'unexisting'
6060 with mock.patch.object(self.dash, 'pointing_device') as mock_pointer: