'If a path is given as the repository path, the parents of that file
are searched until a Git repository is found.'

def test_parent_repository_used(self):

    self.assertEqual(calculate_base_branch(version='0.3.0.dev1', path=FilePath(self.repo.working_dir).child('README').path).name, 'master')
