modify test

This commit is contained in:
ScarletEmanu 2026-06-17 13:01:20 +02:00
parent 24c170f4ef
commit 9c4d82250f
1 changed files with 5 additions and 1 deletions

View File

@ -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,
)