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