From 9c4d82250f8259c31ceb731ac1133fd8a74f3db5 Mon Sep 17 00:00:00 2001 From: ScarletEmanu Date: Wed, 17 Jun 2026 13:01:20 +0200 Subject: [PATCH] modify test --- tests/test_args.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_args.py b/tests/test_args.py index 4cbad41b..65f01a5b 100644 --- a/tests/test_args.py +++ b/tests/test_args.py @@ -50,6 +50,7 @@ def test_default_args(monkeypatch: MonkeyPatch) -> None: offline=False, no_pkg_lookups=False, plugin=None, + plugin_url=None, skip_version_check=False, advanced=False, ) @@ -82,6 +83,8 @@ def test_correct_parsing_args( '--no-pkg-lookups', '--plugin', 'pytest_plugin.py', + '--plugin-url', + 'https://example.com/plugin.py', '--skip-version-check', '--advanced', '--dry-run', @@ -106,7 +109,8 @@ def test_correct_parsing_args( debug=True, offline=True, no_pkg_lookups=True, - plugin='pytest_plugin.py', + plugin=Path('pytest_plugin.py'), + plugin_url='https://example.com/plugin.py', skip_version_check=True, advanced=True, )