Skip to content

Commit

Permalink
Removes redundant acl restore lines
Browse files Browse the repository at this point in the history
  • Loading branch information
raul-marquez-csa committed Jul 2, 2024
1 parent 2359bfc commit c056962
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/python_testing/TC_IDM_4_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,6 @@ async def test_TC_IDM_4_2(self):
targets=[Clusters.AccessControl.Structs.AccessControlTargetStruct(cluster=Clusters.BasicInformation.id)],
subjects=[CR2_nodeid])

# Restore original DUT ACL
await self.write_dut_acl(CR1, dut_acl_original)

# Add limited ACE
await self.add_ace_to_dut_acl(CR1, CR2_limited_ace, dut_acl_original)

Expand Down Expand Up @@ -350,9 +347,6 @@ async def test_TC_IDM_4_2(self):
cluster=Clusters.Descriptor.id)],
subjects=[CR2_nodeid])

# Restore original DUT ACL
await self.write_dut_acl(CR1, dut_acl_original)

# Add limited ACE
await self.add_ace_to_dut_acl(CR1, CR2_limited_ace, dut_acl_original)

Expand Down Expand Up @@ -396,9 +390,6 @@ async def test_TC_IDM_4_2(self):
targets=[Clusters.AccessControl.Structs.AccessControlTargetStruct(endpoint=endpoint)],
subjects=[CR2_nodeid])

# Restore original DUT ACL
await self.write_dut_acl(CR1, dut_acl_original)

# Add limited ACE
await self.add_ace_to_dut_acl(CR1, CR2_limited_ace, dut_acl_original)

Expand Down Expand Up @@ -427,7 +418,7 @@ async def test_TC_IDM_4_2(self):
self.step(6)

# Skip setting an ACE for controller 2 so the DUT node rejects subscribing to it

# Restore original DUT ACL
await self.write_dut_acl(CR1, dut_acl_original)

Expand Down

0 comments on commit c056962

Please sign in to comment.