Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VERIFY
CIF
Commits
debff837
Commit
debff837
authored
Apr 18, 2021
by
Antoine Berchet
Browse files
Re-activating every tests
parent
3720ddd2
Changes
4
Hide whitespace changes
Inline
Side-by-side
tests/dummy/fixtures/fwd.py
View file @
debff837
...
...
@@ -11,11 +11,11 @@ from pycif.utils.yml import ordered_dump
params
=
[
{
"perturb_CH4"
:
True
,
"datef"
:
"2010-01-02"
,
"no_MCF"
:
True
},
#
{"perturb_CH4": False, "datef": "2010-01-02", "no_MCF": True},
#
{"perturb_CH4": True, "datef": "2010-01-05", "no_MCF": True},
#
{"perturb_CH4": False, "datef": "2010-01-05", "no_MCF": True},
#
{"perturb_CH4": True, "datef": "2010-01-02"},
#
{"perturb_CH4": False, "datef": "2010-01-02"},
{
"perturb_CH4"
:
False
,
"datef"
:
"2010-01-02"
,
"no_MCF"
:
True
},
{
"perturb_CH4"
:
True
,
"datef"
:
"2010-01-05"
,
"no_MCF"
:
True
},
{
"perturb_CH4"
:
False
,
"datef"
:
"2010-01-05"
,
"no_MCF"
:
True
},
{
"perturb_CH4"
:
True
,
"datef"
:
"2010-01-02"
},
{
"perturb_CH4"
:
False
,
"datef"
:
"2010-01-02"
},
pytest
.
param
({
"perturb_CH4"
:
True
,
"datef"
:
"2010-01-05"
},
marks
=
pytest
.
mark
.
ref_config
),
pytest
.
param
({
"perturb_CH4"
:
False
,
"datef"
:
"2010-01-05"
},
...
...
tests/dummy/fixtures/inversion.py
View file @
debff837
...
...
@@ -5,10 +5,10 @@ import pytest
params
=
[
{
"resol"
:
"full"
},
#
pytest.param({"resol": "full", "correlations": 2e5},
#
marks=pytest.mark.article),
#
{"resol": "bands"},
#
{"resol": "global"},
pytest
.
param
({
"resol"
:
"full"
,
"correlations"
:
2e5
},
marks
=
pytest
.
mark
.
article
),
{
"resol"
:
"bands"
},
{
"resol"
:
"global"
},
])
def
dummy_config_inversion
(
dummy_config_fwd
,
request
):
"""
...
...
tests/dummy/test_integration_2adjtltest.py
View file @
debff837
...
...
@@ -10,9 +10,9 @@ from pycif.utils.classes.setup import Setup
@
pytest
.
mark
.
parametrize
(
"settings"
,
[{
"incrmode"
:
"cst"
,
"testspace"
:
"control"
},
#
{"incrmode": "cst", "testspace": "chi"},
#
{"incrmode": "rand", "testspace": "control"},
#
{"incrmode": "rand", "testspace": "chi"}
{
"incrmode"
:
"cst"
,
"testspace"
:
"chi"
},
{
"incrmode"
:
"rand"
,
"testspace"
:
"control"
},
{
"incrmode"
:
"rand"
,
"testspace"
:
"chi"
}
])
def
test_integration_adjtltest
(
dummy_config_inversion
,
settings
):
"""
...
...
tests/dummy/test_integration_3inversions.py
View file @
debff837
...
...
@@ -18,9 +18,9 @@ from pycif.utils.path import init_dir
@
pytest
.
mark
.
parametrize
(
"settings"
,
[
{
"mode"
:
"4dvar"
,
"minimizer"
:
"M1QN3"
},
#
{"mode": "4dvar", "minimizer": "congrad"},
#
{"mode": "analytical"},
#
{"mode": "ensrf"}
{
"mode"
:
"4dvar"
,
"minimizer"
:
"congrad"
},
{
"mode"
:
"analytical"
},
{
"mode"
:
"ensrf"
}
]
)
def
test_integration_inversion
(
dummy_config_inversion
,
settings
,
pytestconfig
):
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment