def test_log_fmt_time(self):
     now = Time.time.localtime()
     actual = Time.log_fmt_time(now)
     expected = Time.time.strftime(Time.FMT_LOG_TIME, now)
     self.assertEqual(expected, actual)
Beispiel #2
0
 def test_log_fmt_time(self):
     now = Time.time.localtime()
     actual = Time.log_fmt_time(now)
     expected = Time.time.strftime(Time.FMT_LOG_TIME, now)
     self.assertEqual(expected, actual)