def testDeleteById(self):
    sid = self.sid
    self._MockMemcache(
        'delete', self._Key(sid)).AndReturn(None)
    self._MockSuper(
        'DeleteById', sid).AndReturn(None)

    self.mox.ReplayAll()
    self.ams.DeleteById(sid)
    self.mox.VerifyAll()
Test DeleteById().
dataset/ETHPy150Open google/simian/src/tests/simian/auth/gaeserver_test.py/Auth1ServerDatastoreMemcacheSessionTest.testDeleteById