Files
cc-ci/tests/bluesky-pds/test_restore.py

17 lines
627 B
Python

"""bluesky-pds — RESTORE overlay (Phase 1e HC3): data-integrity, assertion-only + additive.
ops.pre_restore deleted the marker account (diverge); the orchestrator restored once. This overlay
asserts the account is back — i.e. the PDS data volume (atproto sqlite) genuinely round-tripped
through backup→restore (not just service-up)."""
import os
import sys
sys.path.insert(0, os.path.dirname(__file__))
import _p4 # noqa: E402
def test_restore_returns_state(live_app):
assert _p4.account_exists(live_app), (
"restore did not bring back the seeded marker account (PDS data did not survive restore)"
)