def _GetMockSession(self, sid=None):
    if sid is None:
      sid = self.sid
    session = self.mox.CreateMockAnything()
    key = self.mox.CreateMockAnything()
    name = self.mox.CreateMockAnything()
    session.key().AndReturn(key)
    key.name().AndReturn(sid)
    return session
Return the private token used for authentication.
dataset/ETHPy150Open google/simian/src/tests/simian/auth/gaeserver_test.py/Auth1ServerDatastoreMemcacheSessionTest._GetMockSession--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/hostingsvcs/rbgateway.py/ReviewBoardGateway._get_private_token