Skip to content

Commit 15848f3

Browse files
committed
update test with argo lifetime
1 parent 7369f46 commit 15848f3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/instruments/test_argo_float.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def test_simulate_argo_floats(tmpdir) -> None:
2020
VERTICAL_SPEED = -0.10
2121
CYCLE_DAYS = 10
2222
DRIFT_DAYS = 9
23+
LIFETIME = timedelta(days=1)
2324

2425
CONST_TEMPERATURE = 1.0 # constant temperature in fieldset
2526
CONST_SALINITY = 1.0 # constant salinity in fieldset
@@ -75,6 +76,10 @@ class schedule:
7576
),
7677
]
7778

79+
class instruments_config:
80+
class argo_float_config:
81+
lifetime = LIFETIME
82+
7883
expedition = DummyExpedition()
7984
from_data = None
8085

0 commit comments

Comments
 (0)