Exemple #1
0
 def test_Utils_MakeTimeStampLongHours(self):
     from opan.utils import make_timestamp as mt
     self.assertEqual(mt(200000), "55h 33m 20s")
Exemple #2
0
 def test_Utils_MakeTimeStampMins(self):
     from opan.utils import make_timestamp as mt
     self.assertEqual(mt(500), "0h 8m 20s")
Exemple #3
0
 def test_Utils_MakeTimeStampSecs(self):
     from opan.utils import make_timestamp as mt
     self.assertEqual(mt(5), "0h 0m 5s")
Exemple #4
0
 def test_Utils_MakeTimeStampLongHours(self):
     from opan.utils import make_timestamp as mt
     self.assertEqual(mt(200000), "55h 33m 20s")
Exemple #5
0
 def test_Utils_MakeTimeStampMins(self):
     from opan.utils import make_timestamp as mt
     self.assertEqual(mt(500), "0h 8m 20s")
Exemple #6
0
 def test_Utils_MakeTimeStampSecs(self):
     from opan.utils import make_timestamp as mt
     self.assertEqual(mt(5), "0h 0m 5s")