Beispiel #1
0
 def test_parseDTStart(self):
     """
     Should take a content line and return a datetime object.
     """
     self.assertEqual(
         parseDtstart(textLineToContentLine("DTSTART:20060509T000000")),
         datetime.datetime(2006, 5, 9, 0, 0))
Beispiel #2
0
 def test_parseDTStart(self):
     """
     Should take a content line and return a datetime object.
     """
     self.assertEqual(
         parseDtstart(textLineToContentLine("DTSTART:20060509T000000")),
         datetime.datetime(2006, 5, 9, 0, 0)
     )