Python API: Incorrect error for empty VLA list.
[vpp.git] / vpp-api / python / tests / test_vpp_papi2.py
index 18f6b68..f45f791 100755 (executable)
@@ -434,7 +434,7 @@ class TestACL(unittest.TestCase):
 
         rv = vpp.acl_plugin_get_version()
         print('RV', rv)
-        self.assertEqual(rv.major, 0)
+        self.assertEqual(rv.major, 1)
         self.assertEqual(rv.minor, 1)
 
         rv = vpp.acl_add_replace(acl_index = 0xFFFFFFFF,
@@ -472,6 +472,16 @@ class TestACL(unittest.TestCase):
         vpp = VPP(jsonfiles)
         vpp.status()
 
+    def test_acl_interface_get(self):
+        vpp = VPP(jsonfiles)
+
+        vpp.connect('test_vpp_papi2')
+
+        rv = vpp.macip_acl_interface_get()
+
+        print('RV', rv)
+
+        vpp.disconnect()
 
 if __name__ == '__main__':
     unittest.main()