whitelist expand_repo_def in test_valid_docs