typo using m instead of match
diff --git a/olt.py b/olt.py
index f12b526..a8e26c4 100644
--- a/olt.py
+++ b/olt.py
@@ -820,16 +820,16 @@
stats = get_flow_stats(self, ofp.match())
- self.assertTrue(len(stats) == 3, \
- "Wrong number of rules reports; reported %s, expected 3\n\n %s" % (len(stats), stats))
+ self.assertTrue(len(stats) == 5, \
+ "Wrong number of rules reports; reported %s, expected 5\n\n %s" % (len(stats), stats))
processEapolRule(self, onu_port, install = False)
time.sleep(3)
stats = get_flow_stats(self, ofp.match())
- self.assertTrue(len(stats) == 2, \
- "Wrong number of rules reports; reported %s, expected 2\n\n %s" % (len(stats), stats))
+ self.assertTrue(len(stats) == 4, \
+ "Wrong number of rules reports; reported %s, expected 4\n\n %s" % (len(stats), stats))
logging.info(stats)
@@ -899,7 +899,7 @@
request = ofp.message.flow_delete(
table_id=test_param_get("table", 0),
cookie=42,
- match=m,
+ match=match,
instructions=[
ofp.instruction.apply_actions(
actions=[