(self)
| 108 | ) |
| 109 | |
| 110 | def testLoginAuthentication(self): |
| 111 | # test data copied from testBasicAuthentication to test parity |
| 112 | g = github.Github(auth=Login("login", "password")) |
| 113 | self.assertEqual(g.get_user("jacquev6").name, "Vincent Jacques") |
| 114 | |
| 115 | def testTokenAuthentication(self): |
| 116 | # test data copied from testOAuthAuthentication to test parity |