~mihirsoni/ubuntu-calendar-app/dateSelectNewEventTest

« back to all changes in this revision

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

  • Committer: Mihir Soni
  • Date: 2014-10-23 22:49:46 UTC
  • Revision ID: mihirsoni.123@gmail.com-20141023224946-174qtkfkbn7g3h5a
removing next day from this MP

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
        self.assertThat(lambda: self._event_exists(test_event.name),
118
118
                        Eventually(Equals(False)))
119
119
 
120
 
    def test_add_new_event_next_day(self):
121
 
        test_event = self._add_event()
122
 
        self.addCleanup(self._try_delete_event, edited_event.name)
123
 
        day_view = self.app.main_view.go_to_day_view()
124
 
        self.app.main_view.swipe_view(1, day_view)
125
 
        event_details_page = day_view.open_event(test_event.name)
126
 
 
127
 
        self.assertEqual(test_event,
128
 
                         event_details_page.get_event_information())
129
 
 
130
120
    def test_edit_event_with_default_values(self):
131
121
        """Test editing an event change unique values of an event."""
132
122