Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 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 afdfea3..e3f0bda 100644
--- a/ryu/tests/unit/ofproto/test_parser_v12.py
+++ b/ryu/tests/unit/ofproto/test_parser_v12.py
@@ -782,7 +782,7 @@ class TestOFPErrorMsg(unittest.TestCase):
         eq_(res.msg_type, self.msg_type)
         eq_(res.msg_len, self.msg_len)
         eq_(res.xid, self.xid)
-        eq_(res._type, type_)
+        eq_(res.type, type_)
         eq_(res.exp_type, exp_type)
         eq_(res.experimenter, experimenter)
         eq_(res.data, data)
@@ -1217,7 +1217,7 @@ class TestOFPErrorExperimenterMsg(unittest.TestCase):
 
     def test_init(self):
         c = OFPErrorExperimenterMsg(_Datapath)
-        eq_(c._type, None)
+        eq_(c.type, 65535)
         eq_(c.exp_type, None)
         eq_(c.experimenter, None)
         eq_(c.data, None)
@@ -1248,7 +1248,7 @@ class TestOFPErrorExperimenterMsg(unittest.TestCase):
         eq_(res.msg_type, msg_type)
         eq_(res.msg_len, msg_len)
         eq_(res.xid, xid)
-        eq_(res._type, type_)
+        eq_(res.type, type_)
         eq_(res.exp_type, exp_type)
         eq_(res.experimenter, experimenter)
 
-- 
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