test_parser_v12: update after OFPxxxStats.length changes

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:
YAMAMOTO Takashi 2013-09-02 15:06:08 +09:00 committed by FUJITA Tomonori
parent d9ed5a5f13
commit ddeee6ab29

View File

@ -4704,7 +4704,7 @@ class TestOFPFlowStats(unittest.TestCase):
# parse
res = OFPFlowStats.parser(buf, 0)
eq_(length, res._length)
eq_(length, res.length)
eq_(table_id, res.table_id)
eq_(duration_sec, res.duration_sec)
eq_(duration_nsec, res.duration_nsec)
@ -5827,7 +5827,7 @@ class TestOFPGroupStats(unittest.TestCase):
res = OFPGroupStats.parser(buf, 0)
# 32
eq_(length, res._length)
eq_(length, res.length)
eq_(group_id, res.group_id)
eq_(ref_count, res.ref_count)
eq_(packet_count, res.packet_count)