mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 13:56:09 +02:00
test_parser: stop testing unsupported operations
while this happens to work right now, it will stop working when we re-expose "len" and friends, which are only available after parse or serialize. Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
7ae93d2452
commit
bed38d4d12
@ -154,10 +154,9 @@ class Test_Parser(unittest.TestCase):
|
||||
|
||||
# json -> OFPxxx -> json
|
||||
msg2 = self._jsondict_to_msg(dp, json_dict)
|
||||
msg2.serialize()
|
||||
eq_(self._msg_to_jsondict(msg2), json_dict)
|
||||
|
||||
if has_serializer:
|
||||
msg2.serialize()
|
||||
eq_(self._msg_to_jsondict(msg2), json_dict)
|
||||
eq_(wire_msg, msg2.buf)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user