test: Unit test for RemoteStartTransaction nested dataclass#5
Open
ajmirsky wants to merge 4 commits into
Open
Conversation
PR mobilityhouse#172 updated with master. Smart charging algos conception and validation has become a requirement for charging infrastructure. Every single code lines that can help at implementing and testing it worse the effort. closes mobilityhouse#172 Associated unit tests PR: mobilityhouse#690 --------- Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org> Co-authored-by: Adrian Gruetter <adrian@ember.to> Co-authored-by: grutts <grutts@users.noreply.github.com> Co-authored-by: Patrick Roelke <proelke@users.noreply.github.com>
…lityhouse#694) ### Changes included in this PR ***Breaking change*** As per the warning in 1.0.0 this PR removes deprecated Action items from the `enums.py` files to coincide with the 2.0.0 release, updates code references and updates documentation to be consistent with the change including string references. For example: - replaces deprecated Action enums such as `Action.BootNotification` with `Action.boot_notification` - replaces string references such as `@on("BootNotification")` and `action="BootNotification"` with `Action.boot_notification` If users of the library have not already migrated to the new Action enums they will need to do so before using 2.0.0. ### Checklist 1. [x] Does your submission pass the existing tests? 2. [x] Are there new tests that cover these additions/changes? 3. [x] Have you linted your code locally before submission?
… if you declare an attribute as a dict or a nested dataclass
0a34b9d to
e7617b1
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes included in this PR
adding a unit test to verify that serializing and deserializing works if you declare an attribute as a dict or a nested dataclass
New behavior
no change
Impact
none. unit test included is to prevent breaking changes