Skip to content
Snippets Groups Projects
Commit 706a9d79 authored by Ashwin Kumar Karnad's avatar Ashwin Kumar Karnad
Browse files

update tests for wrong package_set

parent e92cc489
No related branches found
No related tags found
1 merge request!94Unique exit codes
......@@ -192,7 +192,7 @@ def test_record_script_execution_summary(tmp_path):
def test_install_environment_wrong_package_set(tmp_path):
"""Test exception is raised for non-existing package_set."""
# exits with exit code 1 when wrong package_sets are provided
# exits with exit code 20 when wrong package_sets are provided
with pytest.raises(SystemExit) as e:
mod.install_environment(
mpsd_release="dev-23a",
......@@ -200,7 +200,7 @@ def test_install_environment_wrong_package_set(tmp_path):
root_dir=(tmp_path),
)
assert e.type == SystemExit
assert e.value.code == 1
assert e.value.code == 20
def test_install_environment_wrong_mpsd_release(tmp_path):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment