def testBaseModelDeleteMemcacheWrap(self):
    self.mox.StubOutWithMock(models, 'memcache', True)

    memcache_key = 'mwg_BaseModel_key'
    models.memcache.delete(memcache_key).AndReturn(None)

    prop_name = 'foo_name'
    memcache_key_with_prop_name = 'mwgpn_BaseModel_key_%s' % prop_name
    models.memcache.delete(memcache_key_with_prop_name).AndReturn(None)

    self.mox.ReplayAll()
    models.BaseModel.DeleteMemcacheWrap('key')
    models.BaseModel.DeleteMemcacheWrap('key', prop_name=prop_name)
    self.mox.VerifyAll()
Test BaseModel.DeleteMemcacheWrap().
dataset/ETHPy150Open google/simian/src/tests/simian/mac/models/base_test.py/ModelsModuleTest.testBaseModelDeleteMemcacheWrap