Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VPP-1407: Fix the wrong length of udp header for buffer chains
[vpp.git]
/
test
/
test_acl_plugin_l2l3.py
diff --git
a/test/test_acl_plugin_l2l3.py
b/test/test_acl_plugin_l2l3.py
index
97675d4
..
26b562e
100644
(file)
--- a/
test/test_acl_plugin_l2l3.py
+++ b/
test/test_acl_plugin_l2l3.py
@@
-60,7
+60,7
@@
class TestIpIrb(VppTestCase):
# create 3 pg interfaces, 1 loopback interface
cls.create_pg_interfaces(range(3))
# create 3 pg interfaces, 1 loopback interface
cls.create_pg_interfaces(range(3))
- cls.create_loopback_interfaces(
range(1)
)
+ cls.create_loopback_interfaces(
1
)
cls.interfaces = list(cls.pg_interfaces)
cls.interfaces.extend(cls.lo_interfaces)
cls.interfaces = list(cls.pg_interfaces)
cls.interfaces.extend(cls.lo_interfaces)
@@
-346,7
+346,7
@@
class TestIpIrb(VppTestCase):
all_rules = []
for old_acl in orig_acls:
for rule in old_acl.r:
all_rules = []
for old_acl in orig_acls:
for rule in old_acl.r:
- all_rules.append(dict(
vars(rule
)))
+ all_rules.append(dict(
rule._asdict(
)))
# Add a few ACLs made from shuffled rules
shuffle(all_rules)
# Add a few ACLs made from shuffled rules
shuffle(all_rules)