Skip to content

Commit b0d202a

Browse files
committed
[test_ModelicSystemDoE] simplify test_ModelicaSystemDoE_local
1 parent 42c4f87 commit b0d202a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/test_ModelicaSystemDoE.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +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() / 'M.mo'
75-
modelpath.write_text(model_doe.read_text())
76-
7774
doe_mod = OMPython.ModelicaSystemDoE(
78-
fileName=modelpath.as_posix(),
75+
fileName=model_doe.as_posix(),
7976
modelName="M",
8077
parameters=param_doe,
8178
omc_process=omcp,
82-
resultpath=modelpath.parent,
8379
simargs={"override": {'stopTime': 1.0}},
8480
)
8581

0 commit comments

Comments
 (0)