def test_find_repo_by_path(self): self.assertEqual('test', Config.find_repo_by_path(self.repo)) self.assertEqual('/home', Config.find_repo_by_path('/home/something'))