← Về thư mục
tests/test_data_dir_permissions.py
- _mode · function · L35-L36 — def _mode(path)
- test_new_database_is_not_world_readable · function · L39-L43 — def test_new_database_is_not_world_readable(tmp_path)
- test_database_parent_dir_is_owner_only · function · L46-L48 — def test_database_parent_dir_is_owner_only(tmp_path)
- test_hardening_survives_a_permissive_umask · function · L51-L60 — def test_hardening_survives_a_permissive_umask(tmp_path)
- test_wal_sidecars_are_hardened_too · function · L63-L78 — def test_wal_sidecars_are_hardened_too(tmp_path)
- test_ensure_dirs_hardens_every_subdirectory · function · L81-L87 — def test_ensure_dirs_hardens_every_subdirectory(tmp_path)
- test_harden_dir_and_file_report_the_result · function · L90-L100 — def test_harden_dir_and_file_report_the_result(tmp_path)
- test_harden_reports_false_rather_than_raising_on_a_missing_path · function · L103-L106 — def test_harden_reports_false_rather_than_raising_on_a_missing_path(tmp_path)
- test_posture_reports_the_truth · function · L109-L114 — def test_posture_reports_the_truth(tmp_path)
- test_posture_does_not_claim_a_boundary_it_lacks · function · L117-L124 — def test_posture_does_not_claim_a_boundary_it_lacks(tmp_path)