diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2013-09-02 15:06:08 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-09-02 19:41:38 +0900 |
commit | ddeee6ab295b30ae0099809ca07646c258fd3076 (patch) | |
tree | 377ed8a91e40d2ee690bcbdb101716e4ff3f1e0a | |
parent | d9ed5a5f13cb3dc6d6e9de6c07a87e0199834826 (diff) |
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>
-rw-r--r-- | ryu/tests/unit/ofproto/test_parser_v12.py | 4 |
1 files 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) |