Exemplo n.º 1
0
 def test_from_time_seconds_added(self):
     self.assertEqual(from_time('2012', '06', '27', '10', '10', '10'),
                      '20120627101010.******+***')
Exemplo n.º 2
0
 def test_from_time_microseconds_added(self):
     self.assertEqual(
         from_time('2012', '06', '27', '10', '10', '10', '111111'),
         '20120627101010.111111+***')
Exemplo n.º 3
0
 def test_from_time_hours_added(self):
     self.assertEqual(from_time('2012', '06', '27', '10'),
                      '2012062710****.******+***')
Exemplo n.º 4
0
 def test_from_time_day_added(self):
     self.assertEqual(from_time('2012', '06', '27'),
                      '20120627******.******+***')
Exemplo n.º 5
0
 def test_from_time_month_added(self):
     self.assertEqual(from_time('2012', '03'), '201203********.******+***')
Exemplo n.º 6
0
 def test_from_time_year_added(self):
     self.assertEqual(from_time('2012'), '2012**********.******+***')
Exemplo n.º 7
0
 def test_from_time_no_time(self):
     self.assertEqual(from_time(), '**************.******+***')