Skip to content
Snippets Groups Projects

Convert to a package

Merged Ashwin Kumar Karnad requested to merge convert-to-a-package into main
All threads resolved!
1 file
+ 5
2
Compare changes
  • Side-by-side
  • Inline
@@ -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):
Loading