'Creating a release branch changes the active branch on the given
branch\'s repository.'

def test_active_branch(self):

    branch = self.repo.create_head('release/flocker-0.3.0rc1')
    create_release_branch(version='0.3.0', base_branch=branch)
    self.assertEqual(self.repo.active_branch.name, 'release/flocker-0.3.0')
