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

ensure that logs folder remains after removal

parent e0e5bb1b
No related branches found
No related tags found
1 merge request!57Try remove cmd
This commit is part of merge request !57. Comments created here will be created in the context of that merge request.
...@@ -499,6 +499,9 @@ def test_remove_environment(tmp_path): ...@@ -499,6 +499,9 @@ def test_remove_environment(tmp_path):
mod.remove_environment(mpsd_release, tmp_path, ["ALL"]) mod.remove_environment(mpsd_release, tmp_path, ["ALL"])
toolchain_map = mod.environment_status(mpsd_release, tmp_path) toolchain_map = mod.environment_status(mpsd_release, tmp_path)
assert toolchain_map is None assert toolchain_map is None
# ensure that logs folder remains
logs_folder = tmp_path / mpsd_release / "logs"
assert logs_folder.exists()
# test removal of a single toolchain # test removal of a single toolchain
......
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