MCPcopy
hub / github.com/facefusion/facefusion / before_all

Function before_all

tests/test_cli_face_debugger.py:12–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11@pytest.fixture(scope = 'module', autouse = True)
12def before_all() -> None:
13 conditional_download(get_test_examples_directory(),
14 [
15 'https://github.com/facefusion/facefusion-assets/releases/download/examples-3.0.0/source.jpg',
16 'https://github.com/facefusion/facefusion-assets/releases/download/examples-3.0.0/target-240p.mp4'
17 ])
18 subprocess.run([ 'ffmpeg', '-i', get_test_example_file('target-240p.mp4'), '-vframes', '1', get_test_example_file('target-240p.jpg') ])
19
20
21@pytest.fixture(scope = 'function', autouse = True)

Callers

nothing calls this directly

Calls 3

conditional_downloadFunction · 0.90
get_test_example_fileFunction · 0.85

Tested by

no test coverage detected