We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3570d8 commit d7e89dbCopy full SHA for d7e89db
1 file changed
tests/table/test_replace.py
@@ -696,7 +696,8 @@ def test_replace_on_custom_branch(catalog: Catalog) -> None:
696
# Assert that the "test-branch" reference now points to a REPLACE snapshot
697
new_snapshot = table.snapshot_by_id(test_branch_ref.snapshot_id)
698
assert new_snapshot is not None
699
- assert new_snapshot.summary["operation"] == Operation.REPLACE
+ summary = cast(Summary, new_snapshot.summary)
700
+ assert summary["operation"] == Operation.REPLACE
701
702
# Assert that the "main" branch reference was completely untouched
703
assert main_branch_ref.snapshot_id == initial_main_snapshot_id
0 commit comments