You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should build an asserts module that builds upon mobly assertions to add matter specific ones somewhere in matter_testing_infrastructure and start using them (we could have something like matter_asserts.assert_valid_uint32(....) in the code.
The text was updated successfully, but these errors were encountered:
#36997 updated some asserts to be easier to read, however they are still repeated across different files.
We should enhance existing mobly asserts with some chip asserts for any custom typical operations like
is_valid_....
checks for numbers/strings, validation of MEI values, validation of ranges and so on (e.g. https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/matter_testing_infrastructure/chip/testing/global_attribute_ids.py#L119 has someis_valid/standard/....
checks but as bools not as assets).We should build an
asserts
module that builds upon mobly assertions to add matter specific ones somewhere in matter_testing_infrastructure and start using them (we could have something likematter_asserts.assert_valid_uint32(....)
in the code.The text was updated successfully, but these errors were encountered: