MCPcopy Create free account
hub / github.com/EasyIME/PIME / post

Method post

python/python3/tornado/test/auth_test.py:568–573  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

566
567class GoogleOAuth2TokenHandler(RequestHandler):
568 def post(self):
569 assert self.get_argument("code") == "fake-authorization-code"
570 # issue a fake token
571 self.finish(
572 {"access_token": "fake-access-token", "expires_in": "never-expires"}
573 )
574
575
576class GoogleOAuth2UserinfoHandler(RequestHandler):

Callers

nothing calls this directly

Calls 2

get_argumentMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected