'Test the ability to retrieve a single branch in a repository.'

def test_branch(self):

    cassette_name = self.cassette_name('branch')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        branch = repository.branch('develop')
        assert isinstance(branch, github3.repos.branch.Branch)
        assert ('enabled' in branch.protection)
