From ddeee6ab295b30ae0099809ca07646c258fd3076 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 2 Sep 2013 15:06:08 +0900 Subject: [PATCH] test_parser_v12: update after OFPxxxStats.length changes Signed-off-by: YAMAMOTO Takashi Signed-off-by: FUJITA Tomonori --- ryu/tests/unit/ofproto/test_parser_v12.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto/test_parser_v12.py index 5ed0d7ea..a79347b3 100644 --- a/ryu/tests/unit/ofproto/test_parser_v12.py +++ b/ryu/tests/unit/ofproto/test_parser_v12.py @@ -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)