From 84b290c78a7166480c60cf5de570033937ebc161 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 2 Sep 2013 15:05:54 +0900 Subject: [PATCH] test_parser_v12: update after OFPQueuePropHeader.property change Signed-off-by: YAMAMOTO Takashi Signed-off-by: FUJITA Tomonori --- ryu/tests/unit/ofproto/test_parser_v12.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto/test_parser_v12.py index 38916e18..afdfea33 100644 --- a/ryu/tests/unit/ofproto/test_parser_v12.py +++ b/ryu/tests/unit/ofproto/test_parser_v12.py @@ -6168,7 +6168,7 @@ class TestOFPQueuePropHeader(unittest.TestCase): def test_init(self): c = OFPQueuePropHeader(self.property_, self.len_) - eq_(self.property_, c._property) + eq_(self.property_, c.property) eq_(self.len_, c.len) def _test_serialize(self, property_, len_): @@ -6235,7 +6235,7 @@ class TestOFPPacketQueue(unittest.TestCase): eq_(prop_cnt, len(res.properties)) for rate, p in enumerate(res.properties): - eq_(prop_type, p._property) + eq_(prop_type, p.property) eq_(prop_len, p.len) eq_(rate, p.rate) @@ -6374,7 +6374,7 @@ class TestOFPQueueGetConfigReply(unittest.TestCase): eq_(1, len(val.properties)) prop = val.properties[0] - eq_(c['prop_type'], prop._property) + eq_(c['prop_type'], prop.property) eq_(c['prop_len'], prop.len) eq_(c['prop_rate'], prop.rate)