-
Notifications
You must be signed in to change notification settings - Fork 3
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
python testing framework - consider adding guard functions for attribute / command / feature checks. #370
Comments
I have created a function under MatterBaseTest class named "attributes_guard" as you had mentioned, this is currently implemented in the Remove_PICS_from_Opstate_Tests PR. Please let me know if this works for the attributes, if so, i could continue on with creating something similar for the commands and features as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider adding easier-to-use guard functions for attribute / function / command existence checks.
Ex, something similar to pics_guard, but for features and attributes etc. There are now "has_feature" and "has_attribute" functions, it seems like this might be neater. We could force the tests to pull a full wildcard at the start of the tests (or at least a wildcard of the global attributes). We're kind of going there with the pics reduction stuff anyway.
The text was updated successfully, but these errors were encountered: