from pathlib import Path def test_restore_postgres_plan_is_non_destructive(): script = Path("scripts/restore_postgres_plan.sh").read_text(encoding="utf-8") executable_prefix = script.split("cat <