Commit 198ab3d
D007 define unit test for v4.0.0 compatibility layer (#438)
* (D006) small fixes in ModelicaSystem
[ModelicaSystemABC] reorder code in __init__()
[ModelicaSystem*] linter fixes
* (D008) add v4.0.0 compatibility layer
[OMTypedParser] compatibility layer
[__init__/OMCSession] prepare compatibility layer
[ModelicaSystem] define as compatibility layer
[ModelicaSystemCmd] define as compatibility layer
* (D007) define unittest / workflow for v4.0.0
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 (#357)' (SHA1: 70cb446)
fix test_ModelicaSystem - needed adaptions:
* convert OMCPath to pathlib.Path
* use correct exceptions
define test workflows for v400
* cleanup github workflow - use the default one to run all tests
* fix name for v4.0.0 test - test*s*_v400
* update name / title for unittest tests_v400
* Increase timeout to 45 minutes
---------
Co-authored-by: Adeel Asghar <adeel.asghar@liu.se>1 parent e18ad45 commit 198ab3d
14 files changed
Lines changed: 902 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
80 | 90 | | |
81 | 91 | | |
82 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments