Skip to content

D007 define unit test for v4.0.0 compatibility layer#438

Open
syntron wants to merge 3 commits intoOpenModelica:masterfrom
syntron:D007-test_v400
Open

D007 define unit test for v4.0.0 compatibility layer#438
syntron wants to merge 3 commits intoOpenModelica:masterfrom
syntron:D007-test_v400

Conversation

@syntron
Copy link
Copy Markdown
Contributor

@syntron syntron commented Feb 27, 2026

this adds a second unittest branch (test_v400) to check for v4.0.0 compatibility

should be merged after D008! (PR #437)

syntron added 3 commits April 30, 2026 22:11
[ModelicaSystemABC] reorder code in __init__()

[ModelicaSystem*] linter fixes
[OMTypedParser] compatibility layer

[__init__/OMCSession] prepare compatibility layer

[ModelicaSystem] define as compatibility layer

[ModelicaSystemCmd] define as compatibility layer
add workflow to run unittests in ./tests

tests from v4.0.0

fix test_linearization from v4.0.0

flake8 error: test_linearization.py:71:5: E741 ambiguous variable name 'l'

this was fixed in: 'update usage of flake8 (OpenModelica#357)' (SHA1: 70cb446)

fix test_ModelicaSystem - needed adaptions:

* convert OMCPath to pathlib.Path
* use correct exceptions

define test workflows for v400
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