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

test explicitly that BUILD_ALL_remove.log is present

parent 21c4fd06
No related branches found
No related tags found
1 merge request!82Remove cmd
Pipeline #385816 passed
......@@ -690,7 +690,10 @@ def test_remove_environment(tmp_path, mocker):
# check that the release directory is empty
assert len(list(release_dir.iterdir())) == 0
# check that the logs directory is non-empty
assert len(list(logs_dir.iterdir())) == 2 # APEX + remove_build_log
list_of_logs = list(logs_dir.iterdir())
assert len(list_of_logs) == 2 # APEX + remove_build_log
# check that one of the log has 'remove.log' as part of the name
assert "BUILD_ALL_remove.log" in ",".join([str(x) for x in list_of_logs])
# Test case3 - remove specific package_sets
# defined in test_remove_package_sets
......
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