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

update broken test ( not part of migration)

parent 8cf6fd0f
No related branches found
No related tags found
1 merge request!70Convert to a package
Pipeline #371918 failed
......@@ -190,13 +190,16 @@ 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."""
# Expect an Exception when wrong package_sets are provided
with pytest.raises(Exception):
# exits with exit code 1 when wrong package_sets are provided
with pytest.raises(SystemExit) as e:
mod.install_environment(
mpsd_release="dev-23a",
package_sets=["wrong-package_set"],
root_dir=(tmp_path),
)
assert e.type == SystemExit
assert e.value.code == 1
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