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
Merge requests
!57
Try remove cmd
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Try remove cmd
try-remove-cmd
into
main
Overview
2
Commits
20
Pipelines
13
Changes
1
Merged
Ashwin Kumar Karnad
requested to merge
try-remove-cmd
into
main
1 year ago
Overview
2
Commits
20
Pipelines
13
Changes
1
Expand
0
0
Merge request reports
Viewing commit
4533270d
Prev
Next
Show latest version
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
4533270d
fix typo
· 4533270d
Ashwin Kumar Karnad
authored
1 year ago
test_mpsd-software.py
+
2
−
1
Options
@@ -493,7 +493,7 @@ def test_remove_environment(tmp_path):
# test removal without arguments (should sys.exit(1))
create_fake_environment
(
tmp_path
,
mpsd_release
)
with
pytest
.
raises
(
SystemExit
):
mod
.
remove_environment
(
mpsd_release
,
tmp_path
,
force
=
True
)
mod
.
remove_environment
(
mpsd_release
,
tmp_path
,
force
_remove
=
True
)
# test removal of the complete environment
mod
.
remove_environment
(
mpsd_release
,
tmp_path
,
[
"
ALL
"
])
@@ -504,6 +504,7 @@ def test_remove_environment(tmp_path):
assert
logs_folder
.
exists
()
# test removal of a single toolchain
# done in test_install_environment_zlib
def
test_interface
(
tmp_path
):
Loading