Skip to content

Commit e192049

Browse files
committed
[test_ModelicaSystemCmd] fix test (again)
1 parent 632924f commit e192049

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_ModelicaSystemCmd.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ def test_simflags(mscmd_firstorder):
3636
with pytest.deprecated_call():
3737
mscmd.args_set(args=mscmd.parse_simflags(simflags="-noEventEmit -noRestart -override=a=1,x=3"))
3838

39-
assert mscmd.get_cmd() == [
40-
mscmd.get_exe().as_posix(),
39+
assert mscmd.get_cmd_args() == [
4140
'-noEventEmit',
4241
'-noRestart',
4342
'-override=a=1,b=2,x=3',
@@ -47,8 +46,7 @@ def test_simflags(mscmd_firstorder):
4746
"override": {'b': None},
4847
})
4948

50-
assert mscmd.get_cmd() == [
51-
mscmd.get_exe().as_posix(),
49+
assert mscmd.get_cmd_args() == [
5250
'-noEventEmit',
5351
'-noRestart',
5452
'-override=a=1,x=3',

0 commit comments

Comments
 (0)