tests packageΒΆ

SubmodulesΒΆ

tests.conftest moduleΒΆ

tests.test_actions moduleΒΆ

tests.test_agent_md moduleΒΆ

tests.test_attestation moduleΒΆ

tests.test_awesome_template moduleΒΆ

Tests for bundled awesome-template data and sync logic.

tests.test_awesome_template.test_bundled_files_exist()[source]ΒΆ

All expected awesome-template files are bundled in the package.

tests.test_awesome_template.test_copy_template_tree(tmp_path)[source]ΒΆ

_copy_template_tree copies all files and skips __init__.py.

tests.test_awesome_template.test_copy_template_tree_creates_directories(tmp_path)[source]ΒΆ

_copy_template_tree creates parent directories as needed.

tests.test_awesome_template.test_copied_files_contain_template_slug(tmp_path)[source]ΒΆ

Copied .github/ markdown files contain the template slug for rewriting.

tests.test_awesome_template.test_awesome_template_has_no_pyproject(tmp_path)[source]ΒΆ

awesome-template bundle does not contain pyproject.toml.

The lychee config is registered as a ToolConfigComponent with AWESOME_ONLY scope, so it goes through the standard merge path in _init_tool_configs instead of being blindly overwritten by _copy_template_tree.

tests.test_awesome_toc moduleΒΆ

tests.test_binaries_page moduleΒΆ

tests.test_binary moduleΒΆ

tests.test_cache moduleΒΆ

tests.test_changelog moduleΒΆ

tests.test_checksums moduleΒΆ

Tests for the binary tool registry checksum update logic.

tests.test_checksums.test_update_registry_checksums_replaces_stale_hash(tmp_path)[source]ΒΆ

update_registry_checksums replaces stale hashes in tool_registry.py.

tests.test_checksums.test_update_registry_checksums_noop_when_current(tmp_path)[source]ΒΆ

update_registry_checksums does not rewrite when all hashes match.

tests.test_checksums.test_update_registry_checksums_reconciles_version_stamp(tmp_path)[source]ΒΆ

A stale VERSIONS stamp is reconciled to the registry version.

tests.test_checksums.test_update_registry_checksums_version_override(tmp_path)[source]ΒΆ

version_overrides downloads at the override version and stamps it.

Models the sync-tool-versions flow: the source was bumped (so the file holds the new version) while the in-memory registry still holds the old one, and the override drives both the download URL and the VERSIONS stamp.

tests.test_ci_status moduleΒΆ

tests.test_claude_assets moduleΒΆ

tests.test_cloudflare moduleΒΆ

tests.test_config moduleΒΆ

tests.test_dep_graph moduleΒΆ

tests.test_dep_policy moduleΒΆ

tests.test_dep_report moduleΒΆ

tests.test_dep_sources moduleΒΆ

tests.test_dev_release moduleΒΆ

tests.test_docs moduleΒΆ

tests.test_docstrings moduleΒΆ

tests.test_forge moduleΒΆ

tests.test_frontmatter moduleΒΆ

tests.test_gh moduleΒΆ

tests.test_git_ops moduleΒΆ

tests.test_gitignore moduleΒΆ

tests.test_help moduleΒΆ

tests.test_http moduleΒΆ

tests.test_humanize moduleΒΆ

tests.test_images moduleΒΆ

tests.test_imports moduleΒΆ

tests.test_init_project moduleΒΆ

tests.test_issue moduleΒΆ

tests.test_job_timings moduleΒΆ

tests.test_labels moduleΒΆ

tests.test_lint_repo moduleΒΆ

tests.test_mailmap moduleΒΆ

Tests for repomatic.mailmap: .mailmap parsing and contributor sync.

tests.test_mailmap.test_sync_mailmap_bootstraps_missing_file(tmp_path, monkeypatch, hermetic_git)[source]ΒΆ

A repository with no .mailmap yet gets one created instead of crashing.

The --create-if-missing default path used to read an unbound content variable when the source file did not exist.

tests.test_mailmap.test_remove_header()[source]ΒΆ
tests.test_mailmap.test_mailmap()[source]ΒΆ
tests.test_mailmap.test_new_entry()[source]ΒΆ

tests.test_matrix moduleΒΆ

tests.test_metadata moduleΒΆ

tests.test_metrics moduleΒΆ

tests.test_npm moduleΒΆ

Tests for the npm registry client.

The shared fetch-and-cache mechanics behind _fetch_json are covered once in tests/test_http.py.

tests.test_npm.test_get_release_dates_maps_versions_to_dates()[source]ΒΆ

Each version maps to its publication date, truncated to YYYY-MM-DD.

tests.test_npm.test_get_release_dates_empty_when_fetch_fails()[source]ΒΆ

A failed metadata fetch degrades to an empty mapping.

tests.test_pages_redirects moduleΒΆ

tests.test_platform_keys moduleΒΆ

tests.test_plugin moduleΒΆ

tests.test_pr moduleΒΆ

tests.test_pr_body moduleΒΆ

tests.test_prepare_release moduleΒΆ

tests.test_pypi moduleΒΆ

tests.test_pyproject moduleΒΆ

tests.test_readme moduleΒΆ

tests.test_release_sync moduleΒΆ

tests.test_releases moduleΒΆ

tests.test_runner_catalog moduleΒΆ

tests.test_runner_sync moduleΒΆ

tests.test_setup_guide moduleΒΆ

tests.test_site_anchors moduleΒΆ

tests.test_skills moduleΒΆ

tests.test_sphinx_crossrefs moduleΒΆ

tests.test_status moduleΒΆ

tests.test_suite_hygiene moduleΒΆ

tests.test_sync_ops moduleΒΆ

tests.test_tabular moduleΒΆ

tests.test_tool_runner moduleΒΆ

tests.test_unsubscribe moduleΒΆ

tests.test_uv moduleΒΆ

tests.test_version_sync moduleΒΆ

tests.test_virustotal moduleΒΆ

tests.test_vulnerable_deps moduleΒΆ

tests.test_workflow_sync moduleΒΆ

tests.test_workflows moduleΒΆ