()
| 10 | |
| 11 | @pytest.fixture(scope = 'module', autouse = True) |
| 12 | def 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) |
nothing calls this directly
no test coverage detected