MCPcopy
hub / github.com/mli/autocut / test_default_transcribe

Method test_default_transcribe

test/test_transcribe.py:52–60  ·  view source on GitHub ↗
(self, file_name)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 3

runMethod · 0.95
TestArgsClass · 0.90
TranscribeClass · 0.90

Tested by

no test coverage detected