def METHOD_NAME(self, mock_os_path_exists: mock.MagicMock):
    # arrange
    path = '/'
    built_dir = os.path.dirname(__file__)
    build_dir_split = built_dir.split(os.sep)
    mock_os_path_exists.side_effect = [False] * len(build_dir_split)
    # act
    path, found = utils.search_aim_repo(path)
    # assert
    self.assertFalse(found)
    self.assertIsNone(path)