make test: fix failure on centos 99/11599/1
authorKlement Sekera <ksekera@cisco.com>
Mon, 9 Apr 2018 10:01:32 +0000 (12:01 +0200)
committerKlement Sekera <ksekera@cisco.com>
Mon, 9 Apr 2018 10:01:32 +0000 (12:01 +0200)
Change-Id: I1fcc742699a60ef99ce97b35f7b964ee6ad29ddf
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/test_acl_plugin_l2l3.py

index 97675d4..b971610 100644 (file)
@@ -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)