def test_get_hash_list(self):
        to_hash = []
        for i in range(5):
            to_hash.append(str(uuid.uuid4()))

        seed_hashes = []
        for item in to_hash:
            seed_hashes.append(sha512(item.encode('utf-8')).hexdigest())
        seed = ''.join(seed_hashes)
        expected = sha512(seed.encode('utf-8'))
        actual = _get_hash(to_hash)
        self.assertEqual(expected.hexdigest(), actual.hexdigest())
Ensure all the items in a list are hashed in the correct order.
dataset/ETHPy150Open ntoll/p4p2p/test/dht/test_crypto.py/TestGetHashFunction.test_get_hash_list