summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-09-02 12:09:53 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-09-14 08:01:34 +0900
commit8c6c2e458a1119a8ab541a1d82d187c76b43e70e (patch)
tree048f2f00621f7a2700cef1e3be2913df52471b83
parent79ee99e98e28254652f3b45fc1fe753eaa452070 (diff)
test_parser: test serializing a message multiple times
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/unit/ofproto/test_parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/tests/unit/ofproto/test_parser.py b/ryu/tests/unit/ofproto/test_parser.py
index 6ad64c03..94938e87 100644
--- a/ryu/tests/unit/ofproto/test_parser.py
+++ b/ryu/tests/unit/ofproto/test_parser.py
@@ -179,6 +179,9 @@ class Test_Parser(unittest.TestCase):
msg3.serialize()
eq_(wire_msg, msg3.buf)
+ msg2.serialize()
+ eq_(wire_msg, msg2.buf)
+
def _add_tests():
import os