#NEWLINE# def test_put_local( self ) : #NEWLINE# #INDENT# model = TestModel ( key_name = 'test_key_name' , name = 'test' ) #NEWLINE# key = pdb . put ( model , _storage = 'local' ) #NEWLINE# entity = cachepy . get ( str ( key ) ) #NEWLINE# self . assertEqual ( 'test' , entity . name )