8000 Fix-up one lingering reference to protection · pythonthings/github3.py@99bdbb9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 99bdbb9

Browse files
committed
Fix-up one lingering reference to protection
1 parent 9dfbec8 commit 99bdbb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_repos_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_branch(self):
4646
assert repository is not None
4747
branch = repository.branch('develop')
4848
assert isinstance(branch, github3.repos.branch.Branch)
49-
assert 'enabled' in branch.protection
49+
assert 'enabled' in branch.original_protection
5050

5151
def test_branches(self):
5252
"""Test the ability to retrieve the branches in a repository."""

0 commit comments

Comments
 (0)
0