We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d509079 commit 3f95dc0Copy full SHA for 3f95dc0
tests/core/test_plan_stages.py
@@ -520,6 +520,10 @@ def test_build_plan_stages_restatement_prod_only(
520
snapshot_a.snapshot_id: snapshot_a,
521
snapshot_b.snapshot_id: snapshot_b,
522
}
523
+ state_reader.get_snapshots_by_names.return_value = {
524
+ snapshot_a.id_and_version,
525
+ snapshot_b.id_and_version,
526
+ }
527
528
existing_environment = Environment(
529
name="prod",
@@ -661,7 +665,7 @@ def _get_snapshots(snapshot_ids: t.Iterable[SnapshotIdLike]):
661
665
662
666
663
667
state_reader.get_snapshots.side_effect = _get_snapshots
664
- state_reader.get_snapshot_ids_by_names.return_value = set()
668
+ state_reader.get_snapshots_by_names.return_value = set()
669
670
existing_prod_environment = Environment(
671
0 commit comments