def test_parse_srt_format(self, expected, srt_format): self.assertEquals(expected, Time.parse(srt_format).ms)
def test_parse_invalid_format(self, format): Time.parse(format)
def test_parse_shorthand_format(self, expected, shorthand_format): self.assertEquals(expected, Time.parse(shorthand_format).ms)