Remove unit tests for linking code between reportFontAttributes
and fontAttributeReporting
#17035
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.
Link to issue number:
Partial fix for #16802
Summary of the issue:
#16748 introduced new behaviour whereby NVDA can be configured to report font attributes in speech, braille, both or not at all. This required the implementation of a new configuration key,
documentFormatting.fontAttributeReporting
. To avoid a breaking change to the API, aliasing code was introduced to ensure that the new key and its deprecated counterpart were kept in sync. When the API version is updated, these tests will fail as this code will no-longer run. Therefore, these tests need to be removed.Description of user facing changes
None.
Description of development approach
Deleted
tests.unit.test_config.Config_getitem_alias
.Testing strategy:
Ran unit tests to ensure they all ran, and verified that the total number of tests only reduced by 6 (as a sanity check that I hadn't accidentally deleted too much).
Known issues with pull request:
#16802 calls for the complete removal of the linking code, however this has not been done in this PR.
Code Review Checklist:
Summary by CodeRabbit