Skip to content

Commit 549f5cb

Browse files
committed
chore(TC_ACE-1.5): fix error using Restyled path
1 parent 451df93 commit 549f5cb

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/python_testing/TC_ACE_1_5.py

+8-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
import time
2020

2121
import chip.clusters as Clusters
22-
from mobly import asserts
2322
from chip import ChipDeviceCtrl
24-
from chip.interaction_model import Status
2523
from chip.ChipDeviceCtrl import CommissioningParameters
24+
from chip.interaction_model import Status
2625
from matter_testing_support import MatterBaseTest, async_test_body, default_matter_test_main
26+
from mobly import asserts
2727

2828

2929
class TC_ACE_1_5(MatterBaseTest):
@@ -100,7 +100,8 @@ async def test_TC_ACE_1_5(self):
100100
self.print_step(4, "TH2 reads its fabric index from the Operational Credentials cluster CurrentFabricIndex attribute")
101101
th2FabricIndex = await self.read_currentfabricindex_expected_success(self.th2)
102102

103-
self.print_step(5, "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value is list of AccessControlEntryStruct containing 2 elements")
103+
self.print_step(
104+
5, "TH1 writes DUT Endpoint 0 ACL cluster ACL attribute, value is list of ACLEntryStruct containing 2 elements")
104105
admin_acl = Clusters.AccessControl.Structs.AccessControlEntryStruct(
105106
privilege=Clusters.AccessControl.Enums.AccessControlEntryPrivilegeEnum.kAdminister,
106107
authMode=Clusters.AccessControl.Enums.AccessControlEntryAuthModeEnum.kCase,
@@ -114,7 +115,8 @@ async def test_TC_ACE_1_5(self):
114115
acl = [admin_acl, descriptor_view]
115116
await self.write_acl(acl, self.th1)
116117

117-
self.print_step(6, "TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value is list of AccessControlEntryStruct containing 2 elements")
118+
self.print_step(
119+
6, "TH2 writes DUT Endpoint 0 ACL cluster ACL attribute, value is list of ACLEntryStruct containing 2 elements")
118120
admin_acl = Clusters.AccessControl.Structs.AccessControlEntryStruct(
119121
fabricIndex=th2FabricIndex,
120122
privilege=Clusters.AccessControl.Enums.AccessControlEntryPrivilegeEnum.kAdminister,
@@ -152,7 +154,8 @@ async def test_TC_ACE_1_5(self):
152154
acl = [full_acl]
153155
await self.write_acl(acl, self.th1)
154156

155-
self.print_step(12, "TH1 removes the TH2 fabric by sending the RemoveFabric command to the DUT with the FabricIndex set to th2FabricIndex")
157+
self.print_step(
158+
12, "TH1 removes the TH2 fabric by sending the RemoveFabric command to the DUT with the FabricIndex set to th2FabricIndex")
156159
removeFabricCmd = Clusters.OperationalCredentials.Commands.RemoveFabric(th2FabricIndex)
157160
await self.th1.SendCommand(nodeid=self.dut_node_id, endpoint=0, payload=removeFabricCmd)
158161

0 commit comments

Comments
 (0)