Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CIF
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
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
VERIFY
CIF
Commits
ba3af827
Commit
ba3af827
authored
3 years ago
by
Antoine Berchet
Browse files
Options
Downloads
Patches
Plain Diff
Fix article test
parent
5ba60d8f
No related branches found
Branches containing commit
No related tags found
1 merge request
!44
Grouping flux/meteo/field into datatream; cleaning plurals in class names;...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/dummy/fixtures/fwd.py
+8
-6
8 additions, 6 deletions
tests/dummy/fixtures/fwd.py
with
8 additions
and
6 deletions
tests/dummy/fixtures/fwd.py
+
8
−
6
View file @
ba3af827
...
...
@@ -110,10 +110,11 @@ def dummy_config_fwd(ref_dummy, request):
if
os
.
path
.
isdir
(
target_dir
):
shutil
.
rmtree
(
target_dir
)
shutil
.
copytree
(
"
{}/obsvect
"
.
format
(
tmpdir_str
),
target_dir
)
if
os
.
path
.
isdir
(
"
{}/obsvect
"
.
format
(
tmpdir_str
)):
shutil
.
copytree
(
"
{}/obsvect
"
.
format
(
tmpdir_str
),
target_dir
)
# Copy the H matrix to avoid re-compiling it every time
Hfile_ref
=
"
{}/model/H_matrix.pickle
"
.
format
(
tmpdir_str
)
...
...
@@ -121,5 +122,6 @@ def dummy_config_fwd(ref_dummy, request):
if
os
.
path
.
isfile
(
Hfile_target
):
os
.
remove
(
Hfile_target
)
shutil
.
copy
(
Hfile_ref
,
Hfile_target
)
if
os
.
path
.
isfile
(
Hfile_ref
):
shutil
.
copy
(
Hfile_ref
,
Hfile_target
)
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