mirror of
https://github.com/facefusion/facefusion.git
synced 2026-06-07 21:23:54 +02:00
Feat/refactor args (#1045)
* follow the new argument naming convention * revert * use get_xxx_arguments * Simple fix Args * Fix more stuff --------- Co-authored-by: henryruhs <info@henryruhs.com>
This commit is contained in:
@@ -25,7 +25,7 @@ def before_all() -> None:
|
||||
@pytest.fixture(scope = 'module')
|
||||
def test_client() -> Iterator[TestClient]:
|
||||
program = ArgumentParser()
|
||||
args_store.register_arguments(
|
||||
args_store.register_argument_set(
|
||||
[
|
||||
program.add_argument(
|
||||
'--source-paths',
|
||||
@@ -34,7 +34,7 @@ def test_client() -> Iterator[TestClient]:
|
||||
],
|
||||
scopes = [ 'api' ]
|
||||
)
|
||||
args_store.register_arguments(
|
||||
args_store.register_argument_set(
|
||||
[
|
||||
program.add_argument(
|
||||
'--target-path'
|
||||
@@ -42,7 +42,7 @@ def test_client() -> Iterator[TestClient]:
|
||||
],
|
||||
scopes = [ 'api' ]
|
||||
)
|
||||
args_store.register_arguments(
|
||||
args_store.register_argument_set(
|
||||
[
|
||||
program.add_argument(
|
||||
'--execution-providers',
|
||||
|
||||
Reference in New Issue
Block a user