def METHOD_NAME(relative_dir):
    with dummy_repo_folder(with_definition=False) as dummy_repo:
        relative_dir.return_value = dummy_repo
        with pytest.raises(RuntimeError):
            list_study_definitions()