Skip to content

Commit b7c9bfe

Browse files
committed
fix failing tests
1 parent cb437c7 commit b7c9bfe

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

tests/cassettes/Comparison_diff.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tests/cassettes/Comparison_patch.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tests/cassettes/RepoCommit_diff.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tests/cassettes/RepoCommit_patch.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tests/integration/test_repos_repo.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,9 +1698,9 @@ def test_diff(self):
16981698
"""Test the ability to retrieve a diff for a commit."""
16991699
cassette_name = self.cassette_name("diff")
17001700
with self.recorder.use_cassette(cassette_name):
1701-
repository = self.gh.repository("sigmavirus24", "github3.py")
1701+
repository = self.gh.repository("MrBatschner", "github3.py")
17021702
commit = repository.commit(
1703-
"51cfbf8cbf98b0ba5006b3490f553bc05d4461e4"
1703+
"e232061a577e4943a806991ffe7e03cc54d69265"
17041704
)
17051705
diff = commit.diff()
17061706

@@ -1710,9 +1710,9 @@ def test_patch(self):
17101710
"""Test the ability to retrieve a patch for a commit."""
17111711
cassette_name = self.cassette_name("patch")
17121712
with self.recorder.use_cassette(cassette_name):
1713-
repository = self.gh.repository("sigmavirus24", "github3.py")
1713+
repository = self.gh.repository("MrBatschner", "github3.py")
17141714
commit = repository.commit(
1715-
"51cfbf8cbf98b0ba5006b3490f553bc05d4461e4"
1715+
"e232061a577e4943a806991ffe7e03cc54d69265"
17161716
)
17171717
patch = commit.patch()
17181718

@@ -1727,9 +1727,9 @@ def test_diff(self):
17271727
"""Test the ability to retrieve a diff for a comparison."""
17281728
cassette_name = self.cassette_name("diff")
17291729
with self.recorder.use_cassette(cassette_name):
1730-
repository = self.gh.repository("sigmavirus24", "github3.py")
1730+
repository = self.gh.repository("MrBatschner", "github3.py")
17311731
comparison = repository.compare_commits(
1732-
base="master", head="develop"
1732+
base="main", head="broken-recordings"
17331733
)
17341734
diff = comparison.diff()
17351735

@@ -1739,9 +1739,9 @@ def test_patch(self):
17391739
"""Test the ability to retrieve a diff for a comparison."""
17401740
cassette_name = self.cassette_name("patch")
17411741
with self.recorder.use_cassette(cassette_name):
1742-
repository = self.gh.repository("sigmavirus24", "github3.py")
1742+
repository = self.gh.repository("MrBatschner", "github3.py")
17431743
comparison = repository.compare_commits(
1744-
base="master", head="develop"
1744+
base="main", head="broken-recordings"
17451745
)
17461746
patch = comparison.patch()
17471747

0 commit comments

Comments
 (0)