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

Method test_twitter_show_user

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

Source from the content-addressed store, hash-verified

514 )
515
516 def test_twitter_show_user(self):
517 response = self.fetch("/twitter/client/show_user?name=somebody")
518 response.rethrow()
519 self.assertEqual(
520 json_decode(response.body), {"name": "Somebody", "screen_name": "somebody"}
521 )
522
523 def test_twitter_show_user_error(self):
524 response = self.fetch("/twitter/client/show_user?name=error")

Callers

nothing calls this directly

Calls 3

json_decodeFunction · 0.90
rethrowMethod · 0.80
fetchMethod · 0.45

Tested by

no test coverage detected