auto-t: update blacklist test to use 'enable' on rules
This commit is contained in:
parent
3dc724d734
commit
6a4fffe6da
|
@ -110,8 +110,11 @@ class Test(unittest.TestCase):
|
||||||
|
|
||||||
# Have both APs drop all packets, both should get blacklisted
|
# Have both APs drop all packets, both should get blacklisted
|
||||||
rule0.drop = True
|
rule0.drop = True
|
||||||
|
rule0.enable = True
|
||||||
rule1.drop = True
|
rule1.drop = True
|
||||||
|
rule1.enable = True
|
||||||
rule2.drop = True
|
rule2.drop = True
|
||||||
|
rule2.enable = True
|
||||||
|
|
||||||
with self.assertRaises(iwd.FailedEx):
|
with self.assertRaises(iwd.FailedEx):
|
||||||
ordered_network.network_object.connect()
|
ordered_network.network_object.connect()
|
||||||
|
|
Loading…
Reference in New Issue