Skip to content

Commit 31f113e

Browse files
committed
[test_ModelicaSystemCmd] update unittest
1 parent 2c728a1 commit 31f113e

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

tests/test_ModelicaSystemCmd.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ def mscmd_firstorder(model_firstorder):
2323
model_file=model_firstorder,
2424
model_name="M",
2525
)
26-
mscmd = OMPython.ModelicaSystemCmd(
27-
session=mod.get_session(),
26+
27+
mscmd = OMPython.ModelExecutionCmd(
2828
runpath=mod.getWorkDirectory(),
29-
modelname=mod._model_name,
29+
cmd_local=mod.get_session().model_execution_local,
30+
cmd_windows=mod.get_session().model_execution_windows,
31+
cmd_prefix=mod.get_session().model_execution_prefix(cwd=mod.getWorkDirectory()),
32+
model_name=mod._model_name,
3033
)
34+
3135
return mscmd
3236

3337

0 commit comments

Comments
 (0)