Skip to content

E003a restructure#441

Open
syntron wants to merge 3 commits into
OpenModelica:masterfrom
syntron:E003a-restructure
Open

E003a restructure#441
syntron wants to merge 3 commits into
OpenModelica:masterfrom
syntron:E003a-restructure

Conversation

@syntron
Copy link
Copy Markdown
Contributor

@syntron syntron commented Feb 27, 2026

restructure - part1: collect all ModelExecution classes in one file

syntron added 3 commits May 11, 2026 20:15
[test_*] reorder imports

[tests_ModelicaDoE*] fix pylint hint

* use .items()

[tests_*] use OMSessionABC.get_version()

[test_ModelicaSystemCmd] use get_model_name() instead of access to private variable _model_name

[test_ModelicaSystemOMC] read file using utf-8 encoding / linter fix

[test_ModelicaSystemRunner] update test case

* ModelicaSystemRunner & OMCPath
* ModelicaSystemRunner & OMPathRunnerLocal
* ModelicaSystemRunner & OMPathRunnerBash
* ModelicaSystemRunner & OMPathRunnerBash using docker
* ModelicaSystemRunner & OMPathRunnerBash using WSL (not tested!)

[test_OMCPath] update test case

* OMCPath & OMCSessionZMQ
* OMCPath & OMCSessionLocal
* OMCPath & OMCSessionDocker
* OMCPath & OMCSessionWSL (not tested!)
* OMPathLocal & OMCSessionRunner
* OMPathBash & OMCSessionRunner
* OMPathBash & OMCSessionRunner in docker
* OMPathBash & OMCSessionRunner in WSL (not tested!)

add workflow to run unittests in ./tests

[test_OMParser] use only the public interface => om_parser_basic()

[test_OMTypedParser] rename file / use om_parser_typed()

update tests - do NOT run test_FMIRegression.py

reason:
* it is only a test for OMC / not OMPython specific
* furthermore, it is run automatically via cron job (= FMITest)

[test_ModelExecutionCmd] rename from test_ModelicaSystemCmd
[ModelicaSystemCmd] add missing docstring

[OMCSession] spelling fixes

[OMCSessionCmd] add warning about depreciated class

[OMCSessionABC] remove duplicated code; see OMSessionABC

[OMSessionRunnerABC] define class

[OMCSessionZMQ] call super()__init__()

[OMCPath] fix forward dependency on OMCSessionLocal

[OMSessionException] rename from OMCSessionException

[__init__] fix imports
@syntron syntron force-pushed the E003a-restructure branch from 4d93362 to 3da0c6b Compare May 11, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant