Exemplo n.º 1
0
 def test_datetime(self):
     ret = parsers.iso8601('2012-03-15')
     self.assertTrue(isinstance(ret, basestring))
     # make sure the returned value can be parsed
     isodate.parse_datetime(ret)
Exemplo n.º 2
0
 def test_datetime(self):
     ret = parsers.iso8601('2012-03-15')
     self.assertTrue(isinstance(ret, basestring))
     # make sure the returned value can be parsed
     isodate.parse_datetime(ret)