(self)
| 49 | self.assertNotEqual(hash(u1), hash(u2)) |
| 50 | |
| 51 | def testBranchEquality(self): |
| 52 | # Erf, equality of NonCompletableGithubObjects will be difficult to implement |
| 53 | # because even their _rawData can differ. (Here, the avatar_url is not equal) |
| 54 | # (CompletableGithubObjects are compared by their API url, which is a good key) |
| 55 | r = self.g.get_user().get_repo("PyGithub") |
| 56 | b1 = r.get_branch("develop") |
| 57 | b2 = r.get_branch("develop") |
| 58 | self.assertNotEqual(b1._rawData, b2._rawData) |
nothing calls this directly
no test coverage detected