Skip to content

Commit 74c0f44

Browse files
committed
[test_ModelicaSystemDoE] fix test
1 parent 79c5a26 commit 74c0f44

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_ModelicaSystemDoE.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,11 @@ def test_ModelicaSystemDoE_docker(tmp_path, model_doe, param_doe):
7171
omc = OMPython.OMCSessionZMQ(omc_process=omcp)
7272
assert omc.sendExpression("getVersion()") == "OpenModelica 1.25.0"
7373

74-
modelpath = omc.omcpath_tempdir()
7574
doe_mod = OMPython.ModelicaSystemDoE(
76-
model_file=modelpath.as_posix(),
75+
model_file=model_doe,
7776
model_name="M",
7877
parameters=param_doe,
7978
omc_process=omcp,
80-
resultpath=modelpath,
8179
simargs={"override": {'stopTime': 1.0}},
8280
)
8381

@@ -91,7 +89,7 @@ def test_ModelicaSystemDoE_WSL(tmp_path, model_doe, param_doe):
9189
tmpdir.mkdir(exist_ok=True)
9290

9391
doe_mod = OMPython.ModelicaSystemDoE(
94-
model_file=model_doe.as_posix(),
92+
model_file=model_doe,
9593
model_name="M",
9694
parameters=param_doe,
9795
resultpath=tmpdir,

0 commit comments

Comments
 (0)