@@ -57,14 +57,13 @@ class DashEmulatorTestCase(DashBaseTestCase):
5757 self.dash.open_scope, scope_name)
5858
5959 self.assertEqual(
60− 'No scope found with id unexisting.scope', str(exception))
60+ 'No scope found with id unexisting', str(exception))
6161 self.assertFalse(mock_pointer.called)
6262
6363 def test_open_already_opened_scope(self):
6464 scope_id = self._get_current_scope_id()
6565 with mock.patch.object(self.dash, 'pointing_device') as mock_pointer:
66− scope = self.dash.open_scope(self._get_scope_name_from_id(
67− scope_id))
66+ scope = self.dash.open_scope(scope_id)
6867
6968 self.assertFalse(mock_pointer.called)
7069 self._assert_scope_is_opened(scope, scope_id)
@@ -80,12 +79,11 @@ class DashEmulatorTestCase(DashBaseTestCase):
8079 return scope.scopeId
8180
8281 def test_open_scope_to_the_right(self):
83− leftmost_scope = self._get_scope_name_from_id(
84− self._get_leftmost_scope_id())
82+ leftmost_scope = self._get_leftmost_scope_id()
8583 self.dash.open_scope(leftmost_scope)
8684
8785 scope_id = self._get_rightmost_scope_id()
88− scope = self.dash.open_scope(self._get_scope_name_from_id(scope_id))
86+ scope = self.dash.open_scope(scope_id)
8987 self._assert_scope_is_opened(scope, scope_id)
9088
9189 def _get_leftmost_scope_id(self):
@@ -101,10 +99,6 @@ class DashEmulatorTestCase(DashBaseTestCase):
10199 'QQuickItem')[0]
102100 return item.get_children_by_type('QQuickLoader')
103101
104− def _get_scope_name_from_id(self, scope_id):
105− if scope_id.endswith('.scope'):
106− return scope_id[:-6]
107−
108102 def _get_rightmost_scope_id(self):
109103 scope_loaders = self._get_scope_loaders()
110104 rightmost_scope_loader = scope_loaders[0]
@@ -114,23 +108,22 @@ class DashEmulatorTestCase(DashBaseTestCase):
114108 return rightmost_scope_loader.scopeId
115109
116110 def test_open_scope_to_the_left(self):
117− rightmost_scope = self._get_scope_name_from_id(
118− self._get_rightmost_scope_id())
111+ rightmost_scope = self._get_rightmost_scope_id()
119112 self.dash.open_scope(rightmost_scope)
120113
121114 scope_id = self._get_leftmost_scope_id()
122− scope = self.dash.open_scope(self._get_scope_name_from_id(scope_id))
115+ scope = self.dash.open_scope(scope_id)
123116 self._assert_scope_is_opened(scope, scope_id)
124117
125118 def test_open_generic_scope(self):
126− scope_id = 'home.scope'
127− scope = self.dash.open_scope(self._get_scope_name_from_id(scope_id))
119+ scope_id = 'scopes'
120+ scope = self.dash.open_scope(scope_id)
128121 self._assert_scope_is_opened(scope, scope_id)
129122 self.assertIsInstance(scope, dash_emulators.GenericScopeView)
130123
131124 def test_open_applications_scope(self):
132− scope_id = 'applications.scope'
133− scope = self.dash.open_scope(self._get_scope_name_from_id(scope_id))
125+ scope_id = 'clickscope'
126+ scope = self.dash.open_scope(scope_id)
134127 self._assert_scope_is_opened(scope, scope_id)
135128 self.assertIsInstance(scope, dash_emulators.DashApps)
136129
@@ -141,10 +134,10 @@ class GenericScopeViewEmulatorTestCase(DashBaseTestCase):
141134 # Set up the fake scopes before launching unity.
142135 self.useFixture(fixture_setup.FakeScopes())
143136 super(GenericScopeViewEmulatorTestCase, self).setUp()
144− self.home_scope = self.dash.open_scope('home')
137+ self.generic_scope = self.dash.open_scope('MockScope1')
145138
146139 def test_open_preview(self):
147− preview = self.home_scope.open_preview('0', 'Title.0')
140+ preview = self.generic_scope.open_preview('0', 'Title.0')
148141 self.assertIsInstance(preview, dash_emulators.DashPreview)
149142 self.assertTrue(preview.isCurrent)
150143 self.assertFalse(preview.showProcessingAction)
@@ -153,7 +146,7 @@ class GenericScopeViewEmulatorTestCase(DashBaseTestCase):
153146 expected_details = dict(
154147 title='Title', subtitle='Subtitle', description='Description')
155148
156− preview = self.home_scope.open_preview('0', 'Title.0')
149+ preview = self.generic_scope.open_preview('0', 'Title.0')
157150 details = preview.get_details()
158151
159152 self.assertEqual(expected_details, details)
@@ -170,7 +163,7 @@ class DashAppsEmulatorTestCase(DashBaseTestCase):
170163 # Set up the fake scopes before launching unity.
171164 self.useFixture(fixture_setup.FakeScopes())
172165 super(DashAppsEmulatorTestCase, self).setUp()
173− self.applications_scope = self.dash.open_scope('applications')
166+ self.applications_scope = self.dash.open_scope('clickscope')
174167
175168 def test_get_applications_with_unexisting_category(self):
176169 exception = self.assertRaises(