Skip to content

Commit 6621a65

Browse files
committed
Corrected one of the tests to match new behaviour.
1 parent 09d0c99 commit 6621a65

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/maverick_functions_tests.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ def test_mav_ti_in_use():
5050
"""
5151
Tests if mav_params_parser() is working correctlly.
5252
"""
53-
assert mw.mav_ti_in_use("smalldata/parameters.txt") is True
54-
assert mw.mav_ti_in_use("smalldata/parameters_f.txt") is False
53+
assert mw.mav_ti_in_use({"thermodynamic_on": "1"}) is True
54+
assert mw.mav_ti_in_use({"thermodynamic_on": "0"}) is False
55+
assert mw.mav_ti_in_use({}) is True
5556

5657

5758
def test_mav_alpha_failsafe():

0 commit comments

Comments
 (0)