facefunsion / tests /test_job_helper.py
Hansonwong47's picture
Upload 175 files
872d0d8 verified
raw
history blame contribute delete
303 Bytes
import os
from facefusion.jobs.job_helper import get_step_output_path
def test_get_step_output_path() -> None:
assert get_step_output_path('test-job', 0, 'test.mp4') == 'test-test-job-0.mp4'
assert get_step_output_path('test-job', 0, 'test/test.mp4') == os.path.join('test', 'test-test-job-0.mp4')