Skip to content

Commit 727845b

Browse files
committed
break into separate test
1 parent e272b26 commit 727845b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

tests/table/test_validate.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,16 @@ def mock_read_manifest_side_effect(self: Snapshot, io: FileIO) -> list[ManifestF
7979

8080
assert len(manifests) == expected_manifest_data_counts
8181

82+
83+
def test_validation_history_fails_on_snapshot_with_no_summary(
84+
table_v2_with_extensive_snapshots_and_manifests: tuple[Table, dict[int, list[ManifestFile]]],
85+
) -> None:
86+
"""Test the validation history function fails on snapshot with no summary."""
87+
table, _ = table_v2_with_extensive_snapshots_and_manifests
88+
oldest_snapshot = table.snapshots()[0]
89+
newest_snapshot = cast(Snapshot, table.current_snapshot())
90+
91+
# Create a snapshot with no summary
8292
snapshot_with_no_summary = Snapshot(
8393
snapshot_id="1234",
8494
parent_id="5678",

0 commit comments

Comments
 (0)