From 54a8f1982be9120b24283f22ed69904e1ac2692d Mon Sep 17 00:00:00 2001 From: cdj <45139296+DejinChen@users.noreply.github.com> Date: Thu, 18 Jul 2024 09:46:49 +0800 Subject: [PATCH] Update src/python_testing/TC_CNET_1_4.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: René Josefsen <69624991+ReneJosefsen@users.noreply.github.com> --- src/python_testing/TC_CNET_1_4.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/python_testing/TC_CNET_1_4.py b/src/python_testing/TC_CNET_1_4.py index bd7d024a420e83..0122f7c90c5e2a 100644 --- a/src/python_testing/TC_CNET_1_4.py +++ b/src/python_testing/TC_CNET_1_4.py @@ -73,9 +73,7 @@ async def test_TC_CNET_1_4(self): self.step(3) cdesc = Clusters.Descriptor - aser = cdesc.Attributes.ServerList - - server_list = await self.read_single_attribute_check_success(cluster=Clusters.Descriptor, attribute=aser, endpoint=0) + server_list = await self.read_single_attribute_check_success(cluster=cdesc, attribute=cdesc.Attributes.ServerList, endpoint=0) if 49 not in server_list: asserts.assert_true(False, "There is no Network Commissioning Cluster on endpoint 0")