Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Created possible fix for issue #229: Remove PICS from python PW…
…RTL tests (#34094) * Created possible fix for issue #229: - Removed PICS if statements from TC_PWRTL_2_1 test module - Added if statements to check if attribute ID's for available and active endpoints gathered from DUT's are contained in attribute list - Updated method from NullValue to also include checking for empty lists from DUT's for available and active endpoints * Restyled by autopep8 * Updated TC_PWRTL_2_1.py: - Added else condition to return for cases where active or available attribute ID's were not in attibute list on DUT * Restyled by autopep8 * Updated TC_PWRTL_2_1 test module: - Replaced method for setting endpoint variable - Removed null check for available endpoints in test step 2. - Reworded verbiage for skipping test step 3 if condition is not met. * Restyled by autopep8 * Updated TC_PWRTL_2_1 test module - Fixed found linting errors * Updated TC_PWRTL_2_1 test module: - Resolved new found linting errors. * Restyled by autopep8 * Apply suggestions from code review Co-authored-by: C Freeman <[email protected]> * Update src/python_testing/TC_PWRTL_2_1.py Co-authored-by: C Freeman <[email protected]> --------- Co-authored-by: Restyled.io <[email protected]> Co-authored-by: C Freeman <[email protected]>
- Loading branch information