mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 05:04:38 +03:00
Fix syntax of new subcommands in tests
This commit is contained in:
@@ -12,7 +12,7 @@ def test_cli_unknown_version(capsys):
|
||||
wrong_url_ending = "mac_x64/desktop/qt5_5160/Updates.xml"
|
||||
with pytest.raises(SystemExit) as pytest_wrapped_e:
|
||||
cli = aqt.installer.Cli()
|
||||
cli.run(["install", wrong_version, "mac", "desktop"])
|
||||
cli.run(["install-qt", "mac", "desktop", wrong_version])
|
||||
assert pytest_wrapped_e.type == SystemExit
|
||||
assert pytest_wrapped_e.value.code == 1
|
||||
out, err = capsys.readouterr()
|
||||
|
||||
Reference in New Issue
Block a user