8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99bdbb9 commit ca631f8Copy full SHA for ca631f8
tests/integration/test_repos_repo.py
@@ -92,7 +92,7 @@ def test_protected_branches(self):
92
with self.recorder.use_cassette(cassette_name):
93
repository = self.gh.repository('sigmavirus24', 'github3.py')
94
assert repository is not None
95
- assert all(b.original_protection['enabled'] is True
+ assert all(isinstance(b, github3.repos.branch.ShortBranch)
96
43C0 for b in repository.branches(protected=True))
97
98
def test_code_frequency(self):
0 commit comments