#NEWLINE# def testBaseModelResetMemcacheWrap( self ) : #NEWLINE# #INDENT# 'Test BaseModel.ResetMemcacheWrap().' #NEWLINE# self . mox . StubOutWithMock ( models . BaseModel , 'DeleteMemcacheWrap' , True ) #NEWLINE# self . mox . StubOutWithMock ( models . BaseModel , 'MemcacheWrappedGet' , True ) #NEWLINE# key_name = 'mwg_BaseModel_key' #NEWLINE# prop_name = 'foo_name' #NEWLINE# models . BaseModel . DeleteMemcacheWrap ( key_name , prop_name = prop_name ) . AndReturn ( None ) #NEWLINE# models . BaseModel . MemcacheWrappedGet ( key_name , prop_name = prop_name , memcache_secs = 10 ) . AndReturn ( None ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# models . BaseModel . ResetMemcacheWrap ( key_name , prop_name = self , memcache_secs = 10 ) #NEWLINE# self . mox . VerifyAll ( )