mirror of
https://github.com/facefusion/facefusion.git
synced 2026-08-27 03:02:30 +02:00
Local API (#982)
* Introduce API scelleton * Raw impl for session * Simple state endpoint * Apply _body naming * Finalize session testing and comment out tons of useless code * Clean and refactor part1 * Clean and refactor part2 * Clean and refactor part2 * Clean and refactor part2 * Clean and refactor part2 * Refactor middleware * Refactor middleware * Clean and refactor part3 * TDD and 2 beers * TDD and 2 beers * Complete state endpoints * You can only set what is already present * Use only JSON as response * Use default logger * Improve auth extraction * Extend api command with more args * Adjust API messages
This commit is contained in:
@@ -106,7 +106,7 @@ def test_find_jobs() -> None:
|
||||
|
||||
assert 'job-test-find-jobs-1' in find_jobs('drafted')
|
||||
assert 'job-test-find-jobs-2' in find_jobs('drafted')
|
||||
assert not find_jobs('queued')
|
||||
assert find_jobs('queued') == {}
|
||||
|
||||
move_job_file('job-test-find-jobs-1', 'queued')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user