Example #1
0
 def test_parse_srt_format(self, expected, srt_format):
     self.assertEquals(expected, Time.parse(srt_format).ms)
Example #2
0
 def test_parse_invalid_format(self, format):
     Time.parse(format)
Example #3
0
 def test_parse_shorthand_format(self, expected, shorthand_format):
     self.assertEquals(expected, Time.parse(shorthand_format).ms)