@@ -161,7 +161,7 @@ class GenericScopeView(emulators.UnityEmulatorBase):
161 raise emulators.UnityEmulatorException(
161 raise emulators.UnityEmulatorException(
162 'No category found with name {}'.format(category))
162 'No category found with name {}'.format(category))
164−class DashApps(emulators.UnityEmulatorBase):
164+class DashApps(GenericScopeView):
165 def get_applications(self, category):
165 def get_applications(self, category):
166 """Return the list of applications on a category.
166 """Return the list of applications on a category.
@@ -177,11 +177,3 @@ class DashApps(emulators.UnityEmulatorBase):
177 if card.objectName != 'cardToolCard':
177 if card.objectName != 'cardToolCard':
178 result.append(card)
178 result.append(card)
179 return result
179 return result
181− def _get_category_element(self, category):
183− return self.wait_select_single(
184− 'Base', objectName='dashCategory{}'.format(category))
185− except dbus.StateNotFoundError:
186− raise emulators.UnityEmulatorException(
187− 'No category found with name {}'.format(category))