Skip to content

Commit 9674e5f

Browse files
committed
[test_ModelicaSystemCmd] fix test
1 parent e4788b3 commit 9674e5f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/test_ModelicaSystemCmd.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ def model_firstorder(tmp_path):
1818
@pytest.fixture
1919
def mscmd_firstorder(model_firstorder):
2020
mod = OMPython.ModelicaSystem(fileName=model_firstorder.as_posix(), modelName="M")
21-
mscmd = OMPython.ModelicaSystemCmd(runpath=mod.getWorkDirectory(), modelname=mod._model_name)
21+
mscmd = OMPython.ModelicaSystemCmd(
22+
session=mod._getconn,
23+
runpath=mod.getWorkDirectory(),
24+
modelname=mod._model_name,
25+
)
2226
return mscmd
2327

2428

0 commit comments

Comments
 (0)