Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fluidsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fluiddyn
fluidsim
Merge requests
!278
Move unused code outside of the package
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Move unused code outside of the package
topic/default/coverage
into
branch/default
Overview
0
Commits
3
Pipelines
3
Changes
9
Merged
Pierre Augier
requested to merge
topic/default/coverage
into
branch/default
3 years ago
Overview
0
Commits
3
Pipelines
3
Changes
1
Expand
0
0
Merge request reports
Compare
version 1
version 2
fa86b8f5
3 years ago
version 1
5ddf86f9
3 years ago
branch/default (base)
and
version 2
latest version
312774df
3 commits,
3 years ago
version 2
fa86b8f5
2 commits,
3 years ago
version 1
5ddf86f9
1 commit,
3 years ago
Show latest version
1 file
+
2
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
fluidsim/util/scripts/test_restart.py
+
2
−
0
Options
import
unittest
import
shutil
import
sys
from
unittest.mock
import
patch
@@ -37,6 +38,7 @@
shutil
.
rmtree
(
sim
.
output
.
path_run
,
ignore_errors
=
True
)
@unittest.skipIf
(
mpi
.
nb_proc
>
1
,
"
No sense with mpi
"
)
def
test_only_check
(
path_simul
):
argv
=
[
"
fluidsim-restart
"
,
path_simul
,
"
-oc
"
,
"
--it_end
"
,
"
1
"
]
argv
.
extend
([
"
--add-to-it_end
"
,
"
1
"
])
Loading