#NEWLINE# def test_shove_storage_init( self ) : #NEWLINE# #INDENT# if ( sys . version_info [ : 2 ] == ( 2 , 6 ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# from wechatpy.session.shovestorage import ShoveStorage #NEWLINE# uri = 'memory://' #NEWLINE# client = WeChatClient ( self . app_id , self . secret , session = uri ) #NEWLINE# self . assertTrue ( isinstance ( client . session , ShoveStorage ) ) #NEWLINE# self . assertEqual ( 'wechatpy' , client . session . prefix )