-
Notifications
You must be signed in to change notification settings - Fork 116
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
Merge element type #499
Merge element type #499
Conversation
883035b
to
6b67d96
Compare
tests/test_merge.py
Outdated
pytest.param( | ||
( | ||
DictConfig({"user007": "???"}, element_type=User), | ||
{"user007": {"age": 99}}, | ||
), | ||
{"user007": {"name": "???", "age": 99}}, | ||
id="dict:merge_into_sc_element_type:into_missing_element", | ||
), | ||
pytest.param( | ||
( | ||
DictConfig({"user007": User("bond", 7)}, element_type=User), | ||
{"user007": {"age": 99}}, | ||
), | ||
{"user007": {"name": "bond", "age": 99}}, | ||
id="dict:merge_into_sc_element_type:merging_with_existing_element", | ||
), | ||
pytest.param( | ||
( | ||
DictConfig({"user007": "???"}, element_type=User), | ||
{"user007": {"age": 99}}, | ||
), | ||
{"user007": {"name": "???", "age": 99}}, | ||
id="dict:merge_into_sc_element_type:merging_into_missing", | ||
), |
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.
I think that the tests with id="dict:merge_into_sc_element_type:into_missing_element"
and id="dict:merge_into_sc_element_type:merging_into_missing"
are duplicate.
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.
good catch
Closes #496