Exemple #1
0
 def test_number_to_date_float(self):
     ret = converter.vnx_time_to_date(3617925585.15)
     assert_that(str(ret), equal_to('2015-08-25 03:19:45.150000'))
Exemple #2
0
 def test_number_to_date_float(self):
     ret = converter.vnx_time_to_date(3617925585.15)
     assert_that(str(ret), equal_to('2015-08-25 03:19:45.150000'))
Exemple #3
0
 def test_number_to_date_int(self):
     ret = converter.vnx_time_to_date(3623881621)
     assert_that(str(ret), equal_to('2015-11-02 01:47:01'))
Exemple #4
0
 def test_number_to_date_int(self):
     ret = converter.vnx_time_to_date(3623881621)
     assert_that(str(ret), equal_to('2015-11-02 01:47:01'))