(self, file_name)
| 50 | |
| 51 | @parameterized.expand([param(file) for file in TEST_MEDIA_FILE]) |
| 52 | def test_default_transcribe(self, file_name): |
| 53 | logging.info("检查默认参数生成字幕") |
| 54 | args = TestArgs() |
| 55 | args.inputs = [TEST_MEDIA_PATH + file_name] |
| 56 | transcribe = Transcribe(args) |
| 57 | transcribe.run() |
| 58 | self.assertTrue( |
| 59 | os.path.exists(TEST_MEDIA_PATH + file_name.split(".")[0] + ".md") |
| 60 | ) |
| 61 | |
| 62 | @parameterized.expand([param(file) for file in TEST_MEDIA_FILE]) |
| 63 | def test_jump_done_transcribe(self, file_name): |
nothing calls this directly
no test coverage detected