def test_get_short_uuid_passthrough(self): self.assertEqual( '0000006D-1234-1234-1234-012345678901', CharacteristicsTypes.get_short_uuid( '0000006D-1234-1234-1234-012345678901'))
def test_get_short_uuid_name(self): self.assertEqual( '6D', CharacteristicsTypes.get_short_uuid( 'public.hap.characteristic.position.current'))
def test_get_short_uuid_short(self): self.assertEqual('6D', CharacteristicsTypes.get_short_uuid('6D'))
def test_get_short_uuid_full_uuid(self): self.assertEqual( '6D', CharacteristicsTypes.get_short_uuid( '0000006D-0000-1000-8000-0026BB765291'))