def testBaseModelMemcacheAutoUpdateWhenNotDeferred(self):

    class _BaseModel(models.BaseModel):
      pass
    _BaseModel._memcache_auto_update_tasks = 'exists'

    b = _BaseModel()
    self.mox.StubOutWithMock(models.deferred, 'defer')
    models.deferred.defer(
        b.MemcacheAutoUpdate, _deferred=True, _countdown=10).AndReturn(None)
    self.mox.ReplayAll()
    b.MemcacheAutoUpdate()
    self.mox.VerifyAll()
Test BaseModel.MemcacheAutoUpdate() when _deferred not supplied.
dataset/ETHPy150Open google/simian/src/tests/simian/mac/models/base_test.py/ModelsModuleTest.testBaseModelMemcacheAutoUpdateWhenNotDeferred