예제 #1
0
 def test_dpid_hex_to_string(self):
     tmp = utils.hex_to_string(self.dpid_hex, utils.DPID)
     self.assertEqual(tmp, self.dpid_string)
예제 #2
0
 def test_dpid_hex_to_string(self):
     tmp = utils.hex_to_string(self.dpid_hex, utils.DPID)
     self.assertEqual(tmp, self.dpid_string)
예제 #3
0
 def test_mac_hex_to_string(self):
     tmp = utils.hex_to_string(self.mac_hex, utils.MAC)
     self.assertEqual(tmp, self.mac_string)
예제 #4
0
 def test_mac_hex_to_string(self):
     tmp = utils.hex_to_string(self.mac_hex, utils.MAC)
     self.assertEqual(tmp, self.mac_string)