File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ def test_repr(self):
1010 commit_id = '1c83cde9b5a7c396a01af1007fb7b88765b9ae45'
1111 commit = self .client .commits .show ('ask/python-github2' , commit_id )
1212 assert_equals (repr (commit ),
13- '<Commit: %s Added cache support to manage_collaborators. >' % commit_id )
13+ '<Commit: %s Added cache suppo... >' % commit_id [: 8 ] )
1414
1515
1616class CommitsQueries (utils .HttpMockTestCase ):
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ class ReprTests(utils.HttpMockTestCase):
99 def test_issue_repr (self ):
1010 issue = self .client .issues .show ('ask/python-github2' , 24 )
1111 assert_equals (repr (issue ),
12- '<Issue: Pagination support for commits .>' )
12+ '<Issue: Pagination suppor.. .>' )
1313
1414 def test_comment_repr (self ):
1515 comments = self .client .issues .comments ('ask/python-github2' , 24 )
1616 assert_equals (repr (comments [1 ]),
17- '<Comment: Sure, but I have another idea. \r \n \r \n List methods could return not >' )
17+ '<Comment: Sure, but I have ... >' )
1818
1919
2020class IssueQueries (utils .HttpMockTestCase ):
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class PullRequest(utils.HttpMockTestCase):
99 def test_repr (self ):
1010 pull_request = self .client .pull_requests .show ('ask/python-github2' , 39 )
1111 assert_equals (repr (pull_request ),
12- '<PullRequest: Datetime timezone handling .>' )
12+ '<PullRequest: Datetime timezone.. .>' )
1313
1414
1515class PullRequestQueries (utils .HttpMockTestCase ):
You can’t perform that action at this time.
0 commit comments