This patch make the following test pass. > TestOFPVendorStatsReply > test_parser > (ryu.tests.unit.ofproto.test_parser_v10.TestOFPVendorStatsReply)ERROR > > ====================================================================== > ERROR: test_parser > (ryu.tests.unit.ofproto.test_parser_v10.TestOFPVendorStatsReply) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yamahata/openvswitch/sp-lab/scarab/ryu/ryu-packet-lib-csum-1/ryu/tests/unit/ofproto/test_parser_v10.py", > line 4962, in test_parser > eq_(specific_data, body.specific_data) > AttributeError: 'str' object has no attribute 'specific_data' > > ----------------------------------------------------------------------
Signed-off-by: Isaku Yamahata <[email protected]> --- ryu/tests/unit/ofproto/test_parser_v10.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v10.py b/ryu/tests/unit/ofproto/test_parser_v10.py index 66a69a4..8723231 100644 --- a/ryu/tests/unit/ofproto/test_parser_v10.py +++ b/ryu/tests/unit/ofproto/test_parser_v10.py @@ -4959,7 +4959,7 @@ class TestOFPVendorStatsReply(unittest.TestCase): # body body = res.body[0] - eq_(specific_data, body.specific_data) + eq_(specific_data, body) # test __str__() list_ = ('version:', 'msg_type', 'xid',) -- 1.7.10.4 ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
