Skip to content

Commit 4b895c7

Browse files
committed
??? [test_ModelicaSystem.test_getSolutions_docker] fix test
1 parent 1e06897 commit 4b895c7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/test_ModelicaSystem.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,12 @@ def test_getSolutions_docker(model_firstorder_content):
160160

161161
file_path = pathlib.Path(modelpath)
162162
mod = OMPython.ModelicaSystem(
163-
fileName=file_path,
164-
modelName="M",
165163
omc_process=omc.omc_process,
166164
)
165+
mod.model(
166+
file=file_path,
167+
name="M",
168+
)
167169

168170
_run_getSolutions(mod)
169171

0 commit comments

Comments
 (0)