~zsombi/ubuntu-ui-toolkit/listitemSelectModeBugs

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_actionbar.py

  • Committer: Tarmac
  • Author(s): Christian Dywan
  • Date: 2015-09-30 14:20:05 UTC
  • mfrom: (1659.2.1 uut.staging)
  • Revision ID: tarmac-20150930142005-dj6l016xcnzz6e0w
Don't assume Label in ActionBarTestCase is of type Label.

Approved by Tim Peeters, PS Jenkins bot, Zoltan Balogh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        super().setUp()
31
31
        self.actionbar = self.app.select_single(
32
32
            'ActionBar', objectName='ActionBar')
33
 
        self.label = self.app.select_single(
34
 
            'Label', objectName='Label')
 
33
        self.label = self.app.select_single(objectName='Label')
35
34
        self.assertEqual(self.label.text, 'No action triggered.')
36
35
 
37
36
    def test_custom_proxy_object(self):