diff --git a/github/tests/Commit.py b/github/tests/Commit.py index fdb6a7e3..c1891577 100644 --- a/github/tests/Commit.py +++ b/github/tests/Commit.py @@ -54,6 +54,7 @@ class Commit(Framework.TestCase): self.assertEqual(self.commit.stats.additions, 0) self.assertEqual(self.commit.stats.total, 20) self.assertEqual(self.commit.url, "https://api.github.com/repos/jacquev6/PyGithub/commits/1292bf0e22c796e91cc3d6e24b544aece8c21f2a") + self.assertEqual(self.commit.commit.tree.sha, "4c6bd50994f0f9823f898b1c6c964ad7d4fa11ab") # test __repr__() based on this attributes self.assertEqual(self.commit.__repr__(), 'Commit(sha="1292bf0e22c796e91cc3d6e24b544aece8c21f2a")')