File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ class OMCProcessException(Exception):
9393 """
9494
9595
96- class OMCProcessCmd :
96+ class OMCCmd :
9797 """
9898 Implementation of Open Modelica Compiler API functions. Depreciated!
9999 """
Original file line number Diff line number Diff line change 4444 ModelicaSystemError ,
4545)
4646from OMPython .OMCSession import (
47- OMCProcessCmd ,
47+ OMCCmd ,
4848 OMCProcessException ,
4949 OMCProcessRunData ,
5050 OMCProcess ,
6363 'ModelicaSystemDoE' ,
6464 'ModelicaSystemError' ,
6565
66- 'OMCProcessCmd ' ,
66+ 'OMCCmd ' ,
6767 'OMCProcessException' ,
6868 'OMCProcessRunData' ,
6969 'OMCProcess' ,
Original file line number Diff line number Diff line change 33
44def test_isPackage ():
55 omczmq = OMPython .OMCProcessLocal ()
6- omccmd = OMPython .OMCProcessCmd (omc_process = omczmq )
6+ omccmd = OMPython .OMCCmd (omc_process = omczmq )
77 assert not omccmd .isPackage ('Modelica' )
88
99
@@ -13,7 +13,7 @@ def test_isPackage2():
1313 model_name = "Modelica.Electrical.Analog.Examples.CauerLowPassAnalog" ,
1414 libraries = ["Modelica" ],
1515 )
16- omccmd = OMPython .OMCProcessCmd (omc_process = mod .get_omc_process ())
16+ omccmd = OMPython .OMCCmd (omc_process = mod .get_omc_process ())
1717 assert omccmd .isPackage ('Modelica' )
1818
1919
You can’t perform that action at this time.
0 commit comments