Add tests for html_url for Issue and PullComment (#170)

I just modified the ReplayData manually and added a "get" in the tests.
This commit is contained in:
Vincent Jacques
2013-05-31 13:48:02 +02:00
parent 1f98067e95
commit c93e4b8ff4
4 changed files with 4 additions and 2 deletions
+1
View File
@@ -36,6 +36,7 @@ class PullRequestComment(Framework.TestCase):
self.assertEqual(self.comment.updated_at, datetime.datetime(2012, 5, 27, 9, 40, 12))
self.assertEqual(self.comment.url, "https://api.github.com/repos/jacquev6/PyGithub/pulls/comments/886298")
self.assertEqual(self.comment.user.login, "jacquev6")
self.assertEqual(self.comment.html_url, "https://github.com/jacquev6/PyGithub/pull/170#issuecomment-18637907")
def testEdit(self):
self.comment.edit("Comment edited by PyGithub")