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 9dfbec8 commit 99bdbb9Copy full SHA for 99bdbb9
tests/integration/test_repos_repo.py
@@ -46,7 +46,7 @@ def test_branch(self):
46
assert repository is not None
47
branch = repository.branch('develop')
48
assert isinstance(branch, github3.repos.branch.Branch)
49
- assert 'enabled' in branch.protection
+ assert 'enabled' in branch.original_protection
50
51
def test_branches(self):
52
"""Test the ability to retrieve the branches in a repository."""
0 commit comments