Example #1
0
 def test_dpid_string_to_hex(self):
     tmp = utils.string_to_hex(self.dpid_string, utils.DPID)
     self.assertEqual(tmp, self.dpid_hex)
Example #2
0
 def test_dpid_string_to_hex(self):
     tmp = utils.string_to_hex(self.dpid_string, utils.DPID)
     self.assertEqual(tmp, self.dpid_hex)
Example #3
0
 def test_mac_string_to_hex(self):
     tmp = utils.string_to_hex(self.mac_string, utils.MAC)
     self.assertEqual(tmp, self.mac_hex)
Example #4
0
 def test_mac_string_to_hex(self):
     tmp = utils.string_to_hex(self.mac_string, utils.MAC)
     self.assertEqual(tmp, self.mac_hex)