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