Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MPSD Computational Science
mpsd-software-manager
Commits
58aaf20b
Commit
58aaf20b
authored
1 year ago
by
Ashwin Kumar Karnad
Browse files
Options
Downloads
Patches
Plain Diff
test explicitly that BUILD_ALL_remove.log is present
parent
21c4fd06
No related branches found
No related tags found
1 merge request
!82
Remove cmd
Pipeline
#385816
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_mpsd_software.py
+4
-1
4 additions, 1 deletion
tests/test_mpsd_software.py
with
4 additions
and
1 deletion
tests/test_mpsd_software.py
+
4
−
1
View file @
58aaf20b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment