FuncUtils.verify_tablestats: assert on total counters
diff --git a/tests/FuncUtils.py b/tests/FuncUtils.py
index c1d5343..a80968b 100644
--- a/tests/FuncUtils.py
+++ b/tests/FuncUtils.py
@@ -666,11 +666,11 @@
sleep(0.1)
if expect_lookup != None :
- self.assertEqual(expect_lookup,item.lookup_count,"lookup counter is not incremented properly")
+ self.assertEqual(expect_lookup, lookedup, "lookup counter is not incremented properly")
if expect_match != None :
- self.assertEqual(expect_match,item.matched_count, "matched counter is not incremented properly")
+ self.assertEqual(expect_match, matched, "matched counter is not incremented properly")
if expect_active != None :
- self.assertEqual(expect_active,item.active_count,"active counter is not incremented properly")
+ self.assertEqual(expect_active, active ,"active counter is not incremented properly")
def verify_flowstats(self,match,byte_count=None,packet_count=None):