Skip to content

Commit 9280df5

Browse files
committed
Fix linting issues
1 parent 87b4fe7 commit 9280df5

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

src/python_testing/TC_IDM_2_2.py

+14-16
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from chip.clusters.Attribute import AttributePath, TypedAttributePath
2727
from chip.clusters.enum import MatterIntEnum
2828
from chip.clusters.ClusterObjects import ClusterObject
29-
from chip.clusters.Objects import Thermostat
29+
3030
from chip.interaction_model import Status
3131
from basic_composition_support import BasicCompositionTests
3232
import global_attribute_ids
@@ -114,34 +114,32 @@ async def test_TC_IDM_2_2(self):
114114
attribute_list = Clusters.Objects.Descriptor.Attributes.AttributeList
115115
attribute_list_path = [0, attribute_list]
116116
self.all_supported_clusters = [cluster for cluster in Clusters.__dict__.values() if inspect.isclass(cluster) and issubclass(cluster, ClusterObjects.Cluster)]
117-
# For bool test
118-
boolean_state = Clusters.Objects.BooleanState
119117

120-
# For str test
121-
power_source = Clusters.Objects.PowerSource
118+
# # For str test
119+
# power_source = Clusters.Objects.PowerSource
122120

123-
# For uint test
124-
microwave_oven_mode = Clusters.Objects.MicrowaveOvenMode
121+
# # For uint test
122+
# microwave_oven_mode = Clusters.Objects.MicrowaveOvenMode
125123

126-
# For int test
127-
device_energy_mgmt = Clusters.Objects.DeviceEnergyManagement
124+
# # For int test
125+
# device_energy_mgmt = Clusters.Objects.DeviceEnergyManagement
128126

129-
# For float test
130-
unit_testing = Clusters.Objects.UnitTesting
127+
# # For float test
128+
# unit_testing = Clusters.Objects.UnitTesting
131129

132-
# For list test
133-
energy_evse_mode = Clusters.Objects.EnergyEvseMode
130+
# # For list test
131+
# energy_evse_mode = Clusters.Objects.EnergyEvseMode
134132

135-
# For bitmap test
136-
occupancy_sensing = Clusters.Objects.OccupancySensing
133+
# # For bitmap test
134+
# occupancy_sensing = Clusters.Objects.OccupancySensing
137135

138136
self.print_step(0, "Commissioning - already done")
139137

140138
wildcard_descriptor = await self.default_controller.ReadAttribute(self.dut_node_id, [(Clusters.Descriptor)])
141139
endpoints = list(wildcard_descriptor.keys())
142140

143141
endpoints.sort()
144-
non_existent_endpoint = next(i for i, e in enumerate(endpoints + [None]) if i != e)
142+
# non_existent_endpoint = next(i for i, e in enumerate(endpoints + [None]) if i != e)
145143

146144
# Step 1
147145

0 commit comments

Comments
 (0)