"""bluesky-pds — UPGRADE overlay (Phase 1e HC3): data-continuity, assertion-only + additive.
ops.pre_upgrade created the deterministic marker account before the upgrade; this overlay asserts it
survived the prev→PR-head chaos crossover."""

import os
import sys

sys.path.insert(0, os.path.dirname(__file__))
import _p4  # noqa: E402


def test_upgrade_preserves_data(live_app):
    assert _p4.account_exists(live_app), "marker account did not survive the upgrade"
