Orchestrata Ultimate › Tests › Reference › scripts › test_build_ft_tree_sitter

Tests reference — tests/scripts/test_build_ft_tree_sitter.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_build_ft_tree_sitter.py

source · 18 tests · 316 lines

Tests for scripts/build_ft_tree_sitter.py — the free-threaded tree-sitter

Kind Name Line Description
function test_package_sdist_name_replaces_hyphens 78
function test_package_wheel_path_layout 83
function test_grammar_headers_matrix 89
function test_packages_pins_and_patch_shapes 104
function test_retag_and_init_patch_strings 134
function test_sha256_empty_file 148
function test_sha256_known_content 154
function test_download_file_url_roundtrip 160
function test_download_sha_mismatch_raises 170
function test_pypi_sdist_url_real 183
function test_build_package_real_c_wheel 196
function test_build_package_fetch_and_patch_applied 212 tree-sitter-python: the sdist omits src/scanner.c (fetched from the
function test_build_package_patch_pattern_not_found_raises 234
function test_verify_returns_zero 254
function test_main_verify_branch 260
function test_main_builds_all_five_wheels 269
function test_cli_entry_point_verify_subprocess 291
function test_cli_entry_point_unknown_arg_exits_2 307