def test_get_git_repo_from_factory_for_directory_with_git_repo(self):
     directory = mkdtemp('-caboose-rep-works-test')
     GitRepository(directory, init=True)
     repo = RepositoryFactory.get_repository(directory)
     eq_(GitRepository, type(repo))
     rmtree(directory)