def test_verify_dates_returns_false_for_missing_end_date(self):
     event = {
         'summary': 'Valid summary',
         'start': {
             'dateTime': ''
         },
         'end': {}
     }
     self.assertFalse(CalendarGoogle.verify_dates(event))
 def test_verify_dates_returns_false_for_missing_end_date(self):
     event = {
         'summary': 'Valid summary',
         'start': {
             'dateTime': ''
         },
         'end': {}
     }
     self.assertFalse(CalendarGoogle.verify_dates(event))
 def test_verify_dates_returns_true_for_valid_input(self):
     event = {
         'summary': 'Valid summary',
         'start': {
             'dateTime': '1970-01-01'
         },
         'end': {
             'dateTime': '1970-01-01'
         }
     }
     self.assertTrue(CalendarGoogle.verify_dates(event))
 def test_verify_dates_returns_true_for_valid_input(self):
     event = {
         'summary': 'Valid summary',
         'start': {
             'dateTime': '1970-01-01'
         },
         'end': {
             'dateTime': '1970-01-01'
         }
     }
     self.assertTrue(CalendarGoogle.verify_dates(event))
 def test_verify_dates_returns_false_for_different_start_and_end_dates(self):
     event = {
         'summary': 'Valid summary',
         'start': {
             'dateTime': '1970-01-02'
         },
         'end': {
             'dateTime': '1970-01-01'
         }
     }
     self.assertFalse(CalendarGoogle.verify_dates(event))
 def test_verify_dates_returns_false_for_different_start_and_end_dates(
         self):
     event = {
         'summary': 'Valid summary',
         'start': {
             'dateTime': '1970-01-02'
         },
         'end': {
             'dateTime': '1970-01-01'
         }
     }
     self.assertFalse(CalendarGoogle.verify_dates(event))