We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9a2257 commit d3f2125Copy full SHA for d3f2125
src/python_testing/TC_CNET_4_4.py
@@ -59,7 +59,12 @@ async def test_TC_CNET_4_4(self):
59
return
60
61
self.step(2)
62
- supported_wifi_bands = await self.read_single_attribute_check_success(cluster=cnet, attribute=attr.SupportedWiFiBands)
+ is_ci = self.check_pics('PICS_SDK_CI_ONLY')
63
+ if is_ci:
64
+ # TODO: CI doesn't support this attribute for various reasons. I'll have to find the issue to link it here.
65
+ supported_wifi_bands = [b.value for b in cnet.Enums.WiFiBandEnum]
66
+ else:
67
+ supported_wifi_bands = await self.read_single_attribute_check_success(cluster=cnet, attribute=attr.SupportedWiFiBands)
68
69
self.step(3)
70
networks = await self.read_single_attribute_check_success(cluster=cnet, attribute=attr.Networks)
0 commit comments