Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/tests/unit/ofproto/test_parser_v12.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py 
b/ryu/tests/unit/ofproto/test_parser_v12.py
index 65c9f75..4b48f3d 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.len_, c._len)
+        eq_(self.len_, c.len)
 
     def _test_serialize(self, property_, len_):
         c = OFPQueuePropHeader(property_, len_)
@@ -6230,12 +6230,12 @@ class TestOFPPacketQueue(unittest.TestCase):
 
         eq_(queue_id, res.queue_id)
         eq_(port, res.port)
-        eq_(queue_len, res._len)
+        eq_(queue_len, res.len)
         eq_(prop_cnt, len(res.properties))
 
         for rate, p in enumerate(res.properties):
             eq_(prop_type, p._property)
-            eq_(prop_len, p._len)
+            eq_(prop_len, p.len)
             eq_(rate, p.rate)
 
     def test_parser_mid(self):
@@ -6369,12 +6369,12 @@ class TestOFPQueueGetConfigReply(unittest.TestCase):
             c = queues[i]
             eq_(c['queue_id'], val.queue_id)
             eq_(c['queue_port'], val.port)
-            eq_(c['queue_len'], val._len)
+            eq_(c['queue_len'], val.len)
             eq_(1, len(val.properties))
 
             prop = val.properties[0]
             eq_(c['prop_type'], prop._property)
-            eq_(c['prop_len'], prop._len)
+            eq_(c['prop_len'], prop.len)
             eq_(c['prop_rate'], prop.rate)
 
     def test_parser_mid(self):
-- 
1.8.3.1


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to