action_list: throw exception if value is not an action
This is a programmer error, not a switch issue.
diff --git a/tests/openflow_protocol_messages.py b/tests/openflow_protocol_messages.py
index 80828c1..2d57978 100644
--- a/tests/openflow_protocol_messages.py
+++ b/tests/openflow_protocol_messages.py
@@ -232,7 +232,7 @@
msg.data = str(outpkt)
act = action.action_output()
act.port = dp_port
- self.assertTrue(msg.actions.add(act), 'Could not add action to msg')
+ msg.actions.add(act)
logging.info("PacketOut to: " + str(dp_port))
rv = self.controller.message_send(msg)