Skip to content

Commit

Permalink
whoops, you said endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed Jul 29, 2024
1 parent e4fa99c commit b3023ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/python_testing/testbed.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ async def setup_class(self):

@per_node_test
async def test_testbed(self):
supported_endpoints = set(self.endpoints.keys())
all_endpoints = set(range(max(supported_endpoints)+2))
unsupported = list(all_endpoints - supported_endpoints)
# Read descriptor
await self.read_single_attribute_expect_error(endpoint=unsupported[0], cluster=Clusters.Descriptor, attribute=Clusters.Descriptor.Attributes.FeatureMap, error=Status.UnsupportedEndpoint)


for endpoint_id, endpoint in self.endpoints.items():
for cluster_type, cluster in endpoint.items():
if global_attribute_ids.cluster_id_type(cluster_type.id) != global_attribute_ids.ClusterIdType.kStandard:
Expand Down

0 comments on commit b3023ed

Please sign in to comment.