-
Notifications
You must be signed in to change notification settings - Fork 61
Test #275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test #275
Conversation
0389dfe
to
1712a85
Compare
@syntron Just a note: it is easy to run tests locally:
When you push a commit to this pull request, it has to create a new virtual machine, install all dependencies in it, and then run the tests and delete the VM. And it does this for two versions of python and for both linux and Windows. If you run tests locally, you won't have to wait as long for them to finish. |
@ondras12345 thanks for the hint; the problem is that I'm limited due to the distribution I use: no package for opensuse available ... thus, I have to run testing on a different computer (or on github) |
…ases there are a lot of functions which check the type of the input; this is done by if ... elif ... - however, invalid input is not catched, i.e. there is *NO* return value define (would be None) if the input is not matching any of the if branches
Rule: fail early, fail hard - tell the user that something is wrong! In this case, the user ask for the solution but could get None (= plain 'return') - this would case hard to track errors later (if verbose==False and raiseerrors==False)
* fix ex.message => ex.msg
needs the preparation / additional changes in OMCSession* and ModelicaSystem
this is handled in OMCSessionZMQ.sendExpression()
could be a simulation which stoped before the final time ...
./OMPython/ModelicaSystem.py:1236:72: E999 SyntaxError: f-string: unmatched '['
this draft PR is (kind of) ready ... I will split it in smaller parts; however, as there are dependencies between the elements some PR will depend on each other ... |
This is just a draft of ideas to further work on ...
... will be splitted into separate PRs if ready ...