MCPcopy
hub / github.com/facefusion/facefusion / test_create_job

Function test_create_job

tests/test_job_manager.py:16–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def test_create_job() -> None:
17 args_1 =\
18 {
19 'source_path': 'source-1.jpg',
20 'target_path': 'target-1.jpg',
21 'output_path': 'output-1.jpg'
22 }
23
24 assert create_job('job-test-create-job') is True
25 assert create_job('job-test-create-job') is False
26
27 add_step('job-test-submit-job', args_1)
28 submit_job('job-test-create-job')
29
30 assert create_job('job-test-create-job') is False
31
32
33def test_submit_job() -> None:

Callers

nothing calls this directly

Calls 3

create_jobFunction · 0.90
add_stepFunction · 0.90
submit_jobFunction · 0.90

Tested by

no test coverage detected