We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1af756f commit 5c32885Copy full SHA for 5c32885
1 file changed
tests/test_FMIExport.py
@@ -1,12 +1,13 @@
1
import OMPython
2
import shutil
3
import os
4
+import pathlib
5
6
7
def test_CauerLowPassAnalog():
8
mod = OMPython.ModelicaSystem(modelName="Modelica.Electrical.Analog.Examples.CauerLowPassAnalog",
9
lmodel=["Modelica"])
- tmp = mod.getWorkDirectory()
10
+ tmp = pathlib.Path(mod.getWorkDirectory())
11
try:
12
fmu = mod.convertMo2Fmu(fileNamePrefix="CauerLowPassAnalog")
13
assert os.path.exists(fmu)
@@ -16,7 +17,7 @@ def test_CauerLowPassAnalog():
16
17
18
def test_DrumBoiler():
19
mod = OMPython.ModelicaSystem(modelName="Modelica.Fluid.Examples.DrumBoiler.DrumBoiler", lmodel=["Modelica"])
20
21
22
fmu = mod.convertMo2Fmu(fileNamePrefix="DrumBoiler")
23
0 commit comments