~elopio/ubuntu-ui-toolkit/tabs_emulator

« back to all changes in this revision

Viewing changes to tests/autopilot/UbuntuUiToolkit/tests/test_emulators.py

  • Committer: Leo Arias
  • Date: 2013-06-27 02:23:02 UTC
  • Revision ID: leo.arias@canonical.com-20130627022302-ospnaafscxgv2zrb
As suggested by thomi, I changed the header property to a method because it could hide a property on the MainView object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        self.assertIsInstance(self.main_view, emulators.MainView)
31
31
 
32
32
    def test_get_header(self):
33
 
        header = self.main_view.header
 
33
        header = self.main_view.get_header()
34
34
        self.assertEqual(header.title, "Test title")