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
!14
Draft: Add tests for run method
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Draft: Add tests for run method
run-tests-for-run
into
linux-debian11
Overview
2
Commits
8
Pipelines
3
Changes
1
Merged
Ashwin Kumar Karnad
requested to merge
run-tests-for-run
into
linux-debian11
1 year ago
Overview
2
Commits
8
Pipelines
3
Changes
1
Expand
first attempt at tests for run
0
0
Merge request reports
Viewing commit
4db287b7
Prev
Next
Show latest version
1 file
+
1
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
4db287b7
the counter output is not part of the captured output
· 4db287b7
Hans Fangohr
authored
1 year ago
tests.py
+
1
−
2
Options
@@ -44,8 +44,7 @@ def test_run_method(tmp_path):
@@ -44,8 +44,7 @@ def test_run_method(tmp_path):
b
"
Hello, world!
\n
"
b
"
Hello, world!
\n
"
in
run
([
"
echo
"
,
"
Hello, world!
"
],
capture_output
=
True
).
stdout
in
run
([
"
echo
"
,
"
Hello, world!
"
],
capture_output
=
True
).
stdout
)
)
# test counter works:
assert
b
"
##-04
\n
"
in
run
([
"
echo
"
,
"
Hello, world!
"
],
capture_output
=
True
).
stdout
def
test_prepare_environment
(
tmp_path
):
def
test_prepare_environment
(
tmp_path
):
Loading