-
Notifications
You must be signed in to change notification settings - Fork 357
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
Port test_multiple_multimeter
from SLI-2-Py
#2754
Merged
heplesser
merged 9 commits into
nest:master
from
nicolossus:port_test_multiple_multimeter
Aug 30, 2023
Merged
Port test_multiple_multimeter
from SLI-2-Py
#2754
heplesser
merged 9 commits into
nest:master
from
nicolossus:port_test_multiple_multimeter
Aug 30, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conflicts: testsuite/pytests/sli2py_recording/test_multimeter_freeze_thaw.py testsuite/pytests/test_multimeter.py
heplesser
requested changes
Aug 28, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall fine, but see inline comment.
testsuite/pytests/sli2py_recording/test_multimeter_freeze_thaw.py
Outdated
Show resolved
Hide resolved
heplesser
reviewed
Aug 29, 2023
Conflicts: testsuite/pytests/test_multimeter.py
heplesser
approved these changes
Aug 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
I: No breaking change
Previously written code will work as before, no one should note anything changing (aside the fix)
S: Normal
Handle this with default priority
T: Maintenance
Work to keep up the quality of the code and documentation.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The diff is a bit messy, partly due to our new auto-formatter. I have ported the tests from
test_multiple_multimeter.sli
intotest_multimeter.py
. One test needed a subset of the models with recordables, which necessitated definingskip_models
andextra_params
. We should be able to remove most of this clutter when we add more complex model extraction directly from PyNEST in the future.Also, due to the theme of
test_multimeter_freeze()
, I relocated it fromtest_multimeter.py
totest_multimeter_freeze_thaw.py
.