Skip to content

Commit c13a094

Browse files
committed
Updated tests for output changes in 9bfcb16.
1 parent ffe403b commit c13a094

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_commits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

1616
class CommitsQueries(utils.HttpMockTestCase):

tests/test_issues.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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\nList methods could return not >')
17+
'<Comment: Sure, but I have ...>')
1818

1919

2020
class IssueQueries(utils.HttpMockTestCase):

tests/test_pull_requests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

1515
class PullRequestQueries(utils.HttpMockTestCase):

0 commit comments

Comments
 (0)