Skip to content
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

ToDo: Remove temporary aliases from matter_testing.py #37537

Open
asirko-soft opened this issue Feb 12, 2025 · 0 comments
Open

ToDo: Remove temporary aliases from matter_testing.py #37537

asirko-soft opened this issue Feb 12, 2025 · 0 comments

Comments

@asirko-soft
Copy link
Contributor

asirko-soft commented Feb 12, 2025

Remove temporary function aliases in matter_testing.py

Currently matter_testing.py contains temporary aliases for functions from the matchers, timeoperations, and conversions modules. These aliases should be removed after transition period and all code should be updated to use the module-qualified names directly. Upd (Feb 20, 2025): aliases to decorators.py module should be removed as well

For example:

  • Replace type_matches with matchers.is_type
  • Replace id_str with conversions.format_decimal_and_hex
  • Replace cluster_id_str with conversions.cluster_id_str

Steps:

  1. Search for all usages of these aliased functions
  2. Replace with module-qualified versions
  3. Remove the aliases from matter_testing.py
  4. Update any documentation referring to these functions
@asirko-soft asirko-soft converted this from a draft issue Feb 12, 2025
@asirko-soft asirko-soft changed the title Remove temporary aliases from matter_testing.py ToDo: Remove temporary aliases from matter_testing.py Feb 12, 2025
@aabgd aabgd self-assigned this Feb 19, 2025
@aabgd aabgd removed their assignment Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants