def test_finds_local_repo(tmpdir):
 project_dir = repository.determine_repo_dir('tests/fake-repo', abbreviations={}, clone_to_dir=str(tmpdir), checkout=None, no_input=True)
 assert ('tests/fake-repo' == project_dir)

def test_finds_local_repo ( tmpdir ) : project_dir = repository . determine_repo_dir ( 'tests/fake-repo' , abbreviations = { } , clone_to_dir = str ( tmpdir ) , checkout = None , no_input = True ) assert ( 'tests/fake-repo' == project_dir )
a valid local repository should be returned .