Skip to content

Commit f1695a9

Browse files
committed
[test_ModelicaSystem] fix test_customBuildDirectory()
1 parent ab2cdf9 commit f1695a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_customBuildDirectory(tmp_path, model_firstorder):
105105
tmpdir = tmp_path / "tmpdir1"
106106
tmpdir.mkdir()
107107
m = OMPython.ModelicaSystem(filePath, "M", customBuildDirectory=tmpdir)
108-
assert m.getWorkDirectory().resolve() == tmpdir.resolve()
108+
assert pathlib.Path(m.getWorkDirectory()).resolve() == tmpdir.resolve()
109109
result_file = tmpdir / "a.mat"
110110
assert not result_file.exists()
111111
m.simulate(resultfile="a.mat")

0 commit comments

Comments
 (0)