def test_hdf5 (self):

    p.args = (2000,2100,4000,4100,500,510)
    # upload some image data
    image_data = np.ones ( [2,10,100,100], dtype=np.float32 ) * random.random()

    response = postHDF5(p, image_data)
    assert ( response.code == 200 )
    h5f = getHDF5(p)

    for idx, channel_name in enumerate(p.channels):
      assert ( np.array_equal(h5f.get(channel_name).get('CUTOUT').value, image_data[idx,:]) )
Post hdf5 data to correct region with correct datatype
dataset/ETHPy150Open neurodata/ndstore/test/test_probability.py/Test_Probability_Post.test_hdf5