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
7b68b41b
Commit
7b68b41b
authored
1 year ago
by
Hans Fangohr
Browse files
Options
Downloads
Patches
Plain Diff
black
parent
8d504467
No related branches found
No related tags found
1 merge request
!36
Available command
Pipeline
#370507
failed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests.py
+15
-4
15 additions, 4 deletions
tests.py
with
15 additions
and
4 deletions
tests.py
+
15
−
4
View file @
7b68b41b
...
...
@@ -341,6 +341,7 @@ def test_install_environment_zlib():
)
assert
len
(
build_log
)
==
4
def
test_metadata_logging
(
tmp_path
):
"""
Test that metadata is logged and read correctly.
"""
# Test that the metadata is logged correctly
...
...
@@ -381,10 +382,20 @@ def test_metadata_logging(tmp_path):
def
test_get_available_toolchains
():
toolchains
=
mod
.
get_available_toolchains
(
'
dev-23a
'
)
assert
sorted
(
toolchains
)
==
sorted
([
'
foss2021a-cuda-mpi
'
,
'
foss2021a-mpi
'
,
'
foss2021a-serial
'
,
'
foss2022a-cuda-mpi
'
,
'
foss2022a-mpi
'
,
'
foss2022a-serial
'
,
'
global
'
,
'
global_generic
'
])
toolchains
=
mod
.
get_available_toolchains
(
"
dev-23a
"
)
assert
sorted
(
toolchains
)
==
sorted
(
[
"
foss2021a-cuda-mpi
"
,
"
foss2021a-mpi
"
,
"
foss2021a-serial
"
,
"
foss2022a-cuda-mpi
"
,
"
foss2022a-mpi
"
,
"
foss2022a-serial
"
,
"
global
"
,
"
global_generic
"
,
]
)
def
test_create_log_file_names
():
"""
Test that the log file names are created correctly.
"""
...
...
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