-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
TC-WASHERCTRL-2.1 Python migration #36720
base: master
Are you sure you want to change the base?
Conversation
|
PR #36720: Size comparison from 38ad07d to 5f86eb2 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
|
||
return steps | ||
|
||
@async_test_body |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see comment here - would want to do the same thing in this PR, assuming the lined PR lands before this gets undrafted. #36703 (comment)
# Write a valid SpinSpeedCurrent value | ||
self.step(4) | ||
requested_speed = random.randint(0, numSpinSpeeds - 1) | ||
result = await self.default_controller.WriteAttribute(self.dut_node_id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest using write_single_attribute function - it checks the return status for you and has some nice defaults for node and controller.
and below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I was aware of the read_single_attribute function but didn't knew about this one.
I changed both uses of the WriteAttribute function with the new one.
PR #36720: Size comparison from 38ad07d to f4450f0 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #36720: Size comparison from 238e801 to 526b5bc Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
This change is a proposal for the Python implementation of the test Test_TC_WASHERCTRL_2_1.yaml
The intention is to verify that the DUT can respond to Laundry Washer Controls Cluster attribute read and write commands if the feature is supported.