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

« back to all changes in this revision

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

  • Committer: Tarmac
  • Author(s): Kunal Parmar
  • Date: 2015-05-22 12:25:24 UTC
  • mfrom: (638.1.2 ubuntu-calendar-app)
  • Revision ID: tarmac-20150522122524-l0xugnc750fpbm2n
Resolves Bug #1419001

Setting default reminder time to 15 min. Fixes: https://bugs.launchpad.net/bugs/1419001.

Approved by Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
        self.assertThat(new_event_page.get_is_all_day_event(), Equals(False))
110
110
        self.assertThat(new_event_page.has_guests(), Equals(False))
111
111
        self.assertThat(new_event_page.get_this_happens(), Equals('Once'))
112
 
        self.assertThat(new_event_page.get_reminder(), Equals('On Event'))
 
112
        self.assertThat(new_event_page.get_reminder(), Equals('15 minutes'))
113
113
 
114
114
        expected_start_date = self._expected_start_date()
115
115
        expected_end_date = expected_start_date + datetime.timedelta(hours=1)