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