Skip to content

Commit ebe0b1d

Browse files
committed
update tests
1 parent ad9c08c commit ebe0b1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/table/test_init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def test_snapshot_by_id(table_v2: Table) -> None:
205205

206206

207207
def test_snapshot_by_timestamp(table_v2: Table) -> None:
208-
assert table_v2.latest_snapshot_before_timestamp(1555100955771) == Snapshot(
208+
assert table_v2.snapshot_at_or_before_timestamp(1555100955771) == Snapshot(
209209
snapshot_id=3055729675574597004,
210210
parent_snapshot_id=3051729675574597004,
211211
sequence_number=1,
@@ -217,7 +217,7 @@ def test_snapshot_by_timestamp(table_v2: Table) -> None:
217217

218218

219219
def test_current_ancestors(table_v2: Table) -> None:
220-
assert table_v2.current_ancestors() == [
220+
assert list(table_v2.current_ancestors()) == [
221221
Snapshot(
222222
snapshot_id=3055729675574597004,
223223
parent_snapshot_id=3051729675574597004,

0 commit comments

Comments
 (0)