def test_dpid_hex_to_string(self): tmp = utils.hex_to_string(self.dpid_hex, utils.DPID) self.assertEqual(tmp, self.dpid_string)
def test_mac_hex_to_string(self): tmp = utils.hex_to_string(self.mac_hex, utils.MAC) self.assertEqual(tmp, self.mac_string)