refactor(tests): eliminate remaining hashlib wrappers; fix genesis docstrings
- Replace long_id(hashlib.sha256(data).hexdigest()) with f'sha256:{hashlib.sha256(data).hexdigest()}' in test_core_types.py (blob_id and hash_file test assertions — keeps actual verification) - Replace long_id(hashlib.sha256(data).hexdigest()) with blob_id(data) in test_public_key_fingerprint.py; remove unused long_id and hashlib imports - Inline blob_id + split_id in shelf-path helpers across test_cmd_gc_hardening, test_gc_full, test_object_store_write_taxonomy, test_core_gc, test_gc_path_helpers_and_remote_refs; remove import hashlib from each - test_hash_object_canonical: bare_hex = split_id(blob_id(content))[1]; remove hashlib - test_security_object_store_poisoning: remove _sha256 wrapper; inline blob_id at ~10 sites; replace streaming sha256 block with hash_file(); remove hashlib - test_code_migrate: _object_flat/_object_canonical use blob_id+split_id; remove hashlib
0 comments
muse hub commit comment sha256:3fb803bba4132194e20e5bd58d61330d939d141b441f657239c021e9f2181ce0 --body "your comment"
No comments yet. Be the first to start the discussion.