Skip to content

Commit f2ab7e8

Browse files
committed
fix test_ModelicaSystemRunner
1 parent cf37b2b commit f2ab7e8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/test_ModelicaSystemRunner.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ def test_runner(model_firstorder, param):
4949
_run_simulation(mod=mod, resultfile=resultfile_mod, param=param)
5050

5151
# run the model using only the runner class
52-
omcs = OMPython.OMCSessionDummy()
53-
52+
omcs = OMPython.OMCSessionDummy(
53+
version=mod.get_session().get_version(),
54+
)
5455
modr = OMPython.ModelicaSystemRunner(
5556
session=omcs,
5657
work_directory=mod.getWorkDirectory(),

0 commit comments

Comments
 (0)