"""Generic BACKUP tier (Phase 1d DG3) — recipe-agnostic, backup-capable recipes only. Runs `abra app backup create` against the shared live deployment and asserts a snapshot artifact is produced (abra app backup snapshots is non-empty). Honest limit: the generic verifies the backup MECHANISM, not app-specific data integrity — that's a recipe overlay (test_backup.py seeds a marker). For recipes that declare no backup config the orchestrator skips this tier as N/A (not a failure).""" import os import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "runner")) from harness import generic # noqa: E402 def test_backup_artifact(live_app, meta): snaps = generic.do_backup(live_app) assert snaps, "backup produced no snapshot artifact"