MCPcopy
hub / github.com/facefusion/facefusion / test_submit_job

Function test_submit_job

tests/test_job_manager.py:33–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33def test_submit_job() -> None:
34 args_1 =\
35 {
36 'source_path': 'source-1.jpg',
37 'target_path': 'target-1.jpg',
38 'output_path': 'output-1.jpg'
39 }
40
41 assert submit_job('job-invalid') is False
42
43 create_job('job-test-submit-job')
44
45 assert submit_job('job-test-submit-job') is False
46
47 add_step('job-test-submit-job', args_1)
48
49 assert submit_job('job-test-submit-job') is True
50 assert submit_job('job-test-submit-job') is False
51
52
53def test_submit_jobs() -> None:

Callers

nothing calls this directly

Calls 3

submit_jobFunction · 0.90
create_jobFunction · 0.90
add_stepFunction · 0.90

Tested by

no test coverage detected