def test_from_guid(self): ae = self.assertEqual uuid = GUIDToUUID.from_guid(0x00010203, 0x0405, 0x0607, b"\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F") ae(uuid, UUID(bytes=bytes([x for x in range(16)])))