forked from kevoreilly/CAPEv2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify update_cape_configs and update tests
Ideally key collisions across multiple configs could combine data, so multiple values could be generated across configs. For example, config kevoreilly#1 generates the following: {"cfg1": {"key": "value1"} While config kevoreilly#2 generates: {"cfg1": {"key": "value2"} And their combined config becomes: {"cfg1": {"key": ["value1", "value2"]}} The existing behavior is to let the last config win on key collisions, resulting instead in: {"cfg1": {"key": "value2"}} So reflect that in the new test coverage, and simplify the config update method by forwarding the cape_name.
- Loading branch information
Showing
2 changed files
with
21 additions
and
28 deletions.
There are no files selected for viewing
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
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