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

add remaining test

parent e69af30b
No related branches found
No related tags found
1 merge request!57Try remove cmd
Pipeline #371854 failed
This commit is part of merge request !57. Comments created here will be created in the context of that merge request.
......@@ -344,6 +344,14 @@ def test_install_environment_zlib():
)
assert len(build_log) == 4
# test that the removal now works
mod.remove_environment(
mpsd_release=mpsd_release_to_test,
package_sets=[package_set_to_test],
root_dir=root_dir,
)
# ensure that the module files are removed
def test_metadata_logging(tmp_path):
"""Test that metadata is logged and read correctly."""
......@@ -496,7 +504,7 @@ def test_remove_environment(tmp_path):
mod.remove_environment(mpsd_release, tmp_path, force_remove=True)
# test removal of the complete environment
mod.remove_environment(mpsd_release, tmp_path, ["ALL"])
mod.remove_environment(mpsd_release, tmp_path, ["ALL"], force_remove=True)
toolchain_map = mod.environment_status(mpsd_release, tmp_path)
assert toolchain_map is None
# ensure that logs folder remains
......
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