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_broken_links 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-versionsflow: 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_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.