(self)
| 327 | self.assertDictEqual(payload, {"iat": 1550055301, "exp": 1550055391, "iss": str(APP_ID)}) |
| 328 | |
| 329 | def testUserAgent(self): |
| 330 | g = github.Github(user_agent="PyGithubTester") |
| 331 | self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques") |
| 332 | |
| 333 | def testAuthorizationHeaderWithLogin(self): |
| 334 | # See special case in Framework.fixAuthorizationHeader |