def assert_snap_not_blank(snapshot_url):
    pixels = read_image_as_raster(snapshot_url)
    nt.ok_(pixels is not None
           and isinstance(pixels, list)
           and len(set(pixels)) > 2,
           msg="Invalid or blank snapshot: {0}".format(snapshot_url))
    for pixel in set(pixels):
        nt.ok_(isinstance(pixel, tuple),
               msg="Invalid snapshot: {0}".format(snapshot_url))
Return a list of paths matching a pathname pattern.
dataset/ETHPy150Open DataDog/dogapi/tests/util/snapshot_test_utils.py/assert_snap_not_blank--crossover with--dataset/ETHPy150Open memsql/memsql-loader/memsql_loader/vendor/glob2/impl.py/Globber.glob