Skip to content

Commit 2a38e91

Browse files
committed
[test_ModelicaSystemCmd] update test due to sort / test remove of override entry
1 parent f4f8406 commit 2a38e91

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tests/test_ModelicaSystemCmd.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ def test_simflags(mscmd_firstorder):
3535
assert mscmd.get_cmd() == [
3636
mscmd.get_exe().as_posix(),
3737
'-noEventEmit',
38-
'-override=b=2,a=1,x=3',
3938
'-noRestart',
39+
'-override=a=1,b=2,x=3',
40+
]
41+
42+
mscmd.args_set({
43+
"override": {'b': None},
44+
})
45+
46+
assert mscmd.get_cmd_args() == [
47+
'-noEventEmit',
48+
'-noRestart',
49+
'-override=a=1,x=3',
4050
]

0 commit comments

Comments
 (0)