def test_003_normalize_device_id(self):
     """ Test normalizing the device id to a string.
     """
     normalized = utils.normalize_device_id(0x12)
     self.assertEqual(normalized, '0012')
 def test_005_normalize_device_id(self):
     """ Test normalizing the device id to a string.
     """
     normalized = utils.normalize_device_id('666')
     self.assertEqual(normalized, '666')
 def test_002_normalize_device_id(self):
     """ Test normalizing the device id to a string.
     """
     normalized = utils.normalize_device_id(0xffff)
     self.assertEqual(normalized, 'ffff')