~pkunal-parmar/ubuntu-calendar-app/ICalImport

« back to all changes in this revision

Viewing changes to tests/autopilot/calendar_app/tests/test_weekview.py

  • Committer: Tarmac
  • Author(s): nskaggs, Nicholas Skaggs
  • Date: 2014-07-02 04:12:14 UTC
  • mfrom: (338.1.9 yearview-tweaks)
  • Revision ID: tarmac-20140702041214-0c5zqj1n01eqzv5q
Fixes for #1335241 and some test cleanup. Fixes: https://bugs.launchpad.net/bugs/1335241.

Approved by Leo Arias, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    def setUp(self):
40
40
        super(TestWeekView, self).setUp()
41
41
        self.assertThat(self.main_view.visible, Eventually(Equals(True)))
42
 
        self.main_view.switch_to_tab("weekTab")
43
 
 
44
 
        self.assertThat(
45
 
            self.main_view.get_week_view, Eventually(NotEquals(None)))
46
 
 
47
 
        self.week_view = self.main_view.get_week_view()
 
42
 
 
43
        self.week_view = self.main_view.go_to_week_view()
48
44
 
49
45
    def _change_week(self, direction):
50
46
        first_dow = self._get_first_day_of_week()