Skip to content

Commit b3023ed

Browse files
committed
whoops, you said endpoint
1 parent e4fa99c commit b3023ed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/python_testing/testbed.py

+7
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ async def setup_class(self):
3232

3333
@per_node_test
3434
async def test_testbed(self):
35+
supported_endpoints = set(self.endpoints.keys())
36+
all_endpoints = set(range(max(supported_endpoints)+2))
37+
unsupported = list(all_endpoints - supported_endpoints)
38+
# Read descriptor
39+
await self.read_single_attribute_expect_error(endpoint=unsupported[0], cluster=Clusters.Descriptor, attribute=Clusters.Descriptor.Attributes.FeatureMap, error=Status.UnsupportedEndpoint)
40+
41+
3542
for endpoint_id, endpoint in self.endpoints.items():
3643
for cluster_type, cluster in endpoint.items():
3744
if global_attribute_ids.cluster_id_type(cluster_type.id) != global_attribute_ids.ClusterIdType.kStandard:

0 commit comments

Comments
 (0)