mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 04:16:11 +02:00
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:
parent
d9ed5a5f13
commit
ddeee6ab29
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user