From 298dbc80f37f575d69c0900798ec0b1597e2786d Mon Sep 17 00:00:00 2001 From: harisreedhar Date: Tue, 17 Feb 2026 14:35:04 +0530 Subject: [PATCH] remove value None as default --- tests/test_api_capabilities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_api_capabilities.py b/tests/test_api_capabilities.py index 7d24d69c..6106d7d4 100644 --- a/tests/test_api_capabilities.py +++ b/tests/test_api_capabilities.py @@ -11,8 +11,8 @@ from facefusion.apis.core import create_api @pytest.fixture(scope = 'module') def test_client() -> Iterator[TestClient]: program = ArgumentParser() - source_paths_action = program.add_argument('--source-paths', nargs = '+', default = None) - target_path_action = program.add_argument('--target-path', default = None) + source_paths_action = program.add_argument('--source-paths', nargs = '+') + target_path_action = program.add_argument('--target-path') output_format_action = program.add_argument('--output-format', default = 'mp4', choices = [ 'mp4', 'mkv', 'webm' ]) args_store.register_argument(source_paths_action, scopes = [ 'api' ]) args_store.register_argument(target_path_action, scopes = [ 'api' ])