Remove unit tests for linking code between reportFontAttributes and fontAttributeReporting#17035
Conversation
WalkthroughThe recent changes involve the removal of the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add Documentation and Community
|
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