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

start test for install

parent 915ae62e
Branches
No related tags found
2 merge requests!19Move linux-debian11 into main,!1Resolve "First draft for user interface for top level install command"
......@@ -80,3 +80,12 @@ def test_setup_log_cmd(tmp_path):
# check that logs/install-software-environment.log is updated
assert os.path.exists("logs/install-software-environment.log")
assert os.path.getsize("logs/install-software-environment.log") > initial_bytes
def test_install_environment(tmp_path):
# Expect and Exception when wrong toolchains are provided
with pytest.raises(Exception):
mod.install_environment(
mpsd_release="dev-23a",
toolchains=["wrong-toolchain"],
script_dir=(tmp_path),
)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment