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 cf09d26..38916e1 100644
--- a/ryu/tests/unit/ofproto/test_parser_v12.py
+++ b/ryu/tests/unit/ofproto/test_parser_v12.py
@@ -6169,7 +6169,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_)
@@ -6231,12 +6231,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):
@@ -6370,12 +6370,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


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to