def validate_persistent_hash(ht):
    root = ht._root
    assert (root is None and ht._cnt == 0) or (root is not None and ht._cnt == root._size)
    if root is not None:
        validate_nodes(root)
Create a test gallery with 2 photos.
dataset/ETHPy150Open samth/pycket/pycket/hash/persistent_hash_map.py/validate_persistent_hash--crossover with--dataset/ETHPy150Open jdriscoll/django-photologue/photologue/tests/test_gallery.py/GalleryTest.setUp