#NEWLINE# def test_npz_incorrect_datatype( self ) : #NEWLINE# #INDENT# 'Post npz data with incorrect datatype' #NEWLINE# p . args = ( 4000 , 4100 , 5000 , 5100 , 500 , 510 ) #NEWLINE# image_data = ( np . ones ( [ 2 , 10 , 100 , 100 ] , dtype = np . float64 ) * random . random ( ) ) #NEWLINE# response = postNPZ ( p , image_data ) #NEWLINE# assert ( image_data . code == 404 )