Skip to content

Commit 08c8b0f

Browse files
committed
f - ??? fix docker
1 parent 131bdd4 commit 08c8b0f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_ModelicaSystem.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,14 @@ def test_customBuildDirectory(tmp_path, model_firstorder):
151151

152152
@skip_on_windows
153153
@skip_python_older_312
154-
def test_getSolutions_docker(model_firstorder_content):
154+
def test_getSolutions_docker(model_firstorder):
155155
omcp = OMPython.OMCProcessDocker(docker="openmodelica/openmodelica:v1.25.0-minimal")
156156
omc = OMPython.OMCSessionZMQ(omc_process=omcp)
157157

158-
modelpath = omc.omcpath_tempdir() / 'M.mo'
159-
modelpath.write_text(model_firstorder_content)
158+
# modelpath = omc.omcpath_tempdir() / 'M.mo'
159+
# modelpath.write_text(model_firstorder_content)
160160

161-
file_path = pathlib.Path(modelpath)
161+
file_path = model_firstorder.as_posix()
162162
mod = OMPython.ModelicaSystem(
163163
omc_process=omc.omc_process,
164164
)

0 commit comments

Comments
 (0)