def test_throw_exception_on_detecting_embedded_subtitles_exception(self, mock_communicate): self._assert_exception_on_subproces( lambda: self.assertTrue(Undertest.contains_embedded_subtitles(self.__mkv_file_path)), mock_communicate)
def test_contains_embedded_subtitle(self): self.assertTrue(Undertest.contains_embedded_subtitles(self.__mkv_file_path)) self.assertFalse(Undertest.contains_embedded_subtitles(self.__mp4_file_path))