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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy