Esempio n. 1
0
 def test_set_xid_check_xid(self):
     xid = 2160492514
     c = ofproto_parser.MsgBase(object)
     c.xid = xid
     c.set_xid(xid)
Esempio n. 2
0
 def test_set_xid(self):
     xid = 3841413783
     c = ofproto_parser.MsgBase(object)
     c.set_xid(xid)
     eq_(xid, c.xid)