def test_find_and_check_urls(repo_dir: Path):
    """Test that all URLs in the repo are valid and secure.

    Args:
        repo_dir: The directory of the repo.
    """
    errors = check_urls(repo_dir)
    assert not errors, "\n".join(errors)
Test that all URLs in the repo are valid and secure.

    Args:
        repo_dir: The directory of the repo.
    
tests/integration/test_urls.py