Skip to content

Commit 18dd4f2

Browse files
committed
[test_ModelicaSystem] fix rebase fallout (2)
1 parent 3679e46 commit 18dd4f2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_ModelicaSystem.py

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

162162
file_path = pathlib.Path(modelpath)
163163
mod = OMPython.ModelicaSystem(
164-
file=file_path,
165-
model="M",
166164
omc_process=omc.omc_process,
167165
)
166+
mod.model(
167+
name="M",
168+
file=file_path,
169+
)
168170

169171
_run_getSolutions(mod)
170172

0 commit comments

Comments
 (0)