#NEWLINE# def testBlobstore_FetchDataAsync( self ) : #NEWLINE# #INDENT# b = self . create_blobinfo ( 'xxx' ) #NEWLINE# stub = self . testbed . get_stub ( 'blobstore' ) #NEWLINE# storage = stub . storage #NEWLINE# storage . _blobs [ 'xxx' ] = 'abcde' #NEWLINE# fut = blobstore . fetch_data_async ( result , 0 , 2 ) #NEWLINE# self . assertTrue ( isinstance ( fut , tasklets . Future ) , fut ) #NEWLINE# result = fut . get_result ( ) #NEWLINE# self . assertEqual ( result , 'abc' )