Commit 8db7387
E002 prepare restructure (#440)
* (E001) update tests (v4.x.x)
[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
* (E002) prepare restructure
[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
---------
Co-authored-by: Adeel Asghar <adeel.asghar@liu.se>1 parent 149f654 commit 8db7387
3 files changed
Lines changed: 122 additions & 108 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
1688 | 1688 | | |
1689 | 1689 | | |
1690 | 1690 | | |
1691 | | - | |
| 1691 | + | |
1692 | 1692 | | |
1693 | 1693 | | |
1694 | 1694 | | |
| |||
2829 | 2829 | | |
2830 | 2830 | | |
2831 | 2831 | | |
2832 | | - | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
2833 | 2835 | | |
2834 | 2836 | | |
2835 | 2837 | | |
| |||
0 commit comments