Fix syntax of new subcommands in tests

This commit is contained in:
David Dalcino
2021-08-01 11:22:28 -07:00
parent 0eddcabf5d
commit 9982f56613
2 changed files with 4 additions and 4 deletions

View File

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