-
Notifications
You must be signed in to change notification settings - Fork 3
Fixed use of deprecated yamlfile argument to get_keywords()
#494
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #494 +/- ##
==========================================
- Coverage 84.75% 84.71% -0.05%
==========================================
Files 30 30
Lines 4789 4789
==========================================
- Hits 4059 4057 -2
- Misses 730 732 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tests/datadoc/test_keywords.py
Outdated
| ) | ||
| kw6 = get_keywords(kw4) | ||
| kw6.load_yaml(testdir / "input" / "custom_keywords.yaml") | ||
| assert kw4.data.theme == ["ddoc:datadoc", "ddoc:prefixes", "ddoc:process"] |
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.
| assert kw4.data.theme == ["ddoc:datadoc", "ddoc:prefixes", "ddoc:process"] | |
| assert kw4.data.theme == ["ddoc:datadoc", "ddoc:prefixes", "ddoc:process"] | |
| ```¨ | |
| kw6? |
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.
Corrected, thanks
Description
Fixed use of deprecated yamlfile argument to get_keywords().
Note: The failing tests is because that we don't test deprecated functions (tests were updated to the new function). I think that this is fine.
Type of change
Checklist for the reviewer
This checklist should be used as a help for the reviewer.