aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_acl_plugin_l2l3.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-04-09 12:01:32 +0200
committerDamjan Marion <damarion@cisco.com>2018-04-09 16:04:18 +0200
commit52e947dfae520f354aa09f7f9c6cd2a0a79ce224 (patch)
treee466eea7d6cb032dcbde35ab2a64fe408bb1a93f /test/test_acl_plugin_l2l3.py
parentdecc3c52d752ba12db2fdc51e35dc7f92fe81133 (diff)
make test: fix failure on centos
Change-Id: I1fcc742699a60ef99ce97b35f7b964ee6ad29ddf Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_acl_plugin_l2l3.py')
-rw-r--r--test/test_acl_plugin_l2l3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_acl_plugin_l2l3.py b/test/test_acl_plugin_l2l3.py
index 97675d40cbf..b971610d5d4 100644
--- a/test/test_acl_plugin_l2l3.py
+++ b/test/test_acl_plugin_l2l3.py
@@ -346,7 +346,7 @@ class TestIpIrb(VppTestCase):
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)