Skip to content

Commit

Permalink
test_get_notes_by_post_ids passed
Browse files Browse the repository at this point in the history
kota-yata committed Apr 11, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent 65d9de8 commit f111df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_storage.py
Original file line number Diff line number Diff line change
@@ -111,7 +111,7 @@ def test_get_notes_by_post_ids(
note_records_sample: List[NoteRecord],
) -> None:
storage = Storage(engine=engine_for_test)
post_ids = [TweetId.from_str("1"), TweetId.from_str("2")]
post_ids = [TweetId.from_str("2234567890123456781"), TweetId.from_str("2234567890123456782")]
expected = [note for note in note_samples if note.post_id in post_ids]
actual = list(storage.get_notes(post_ids=post_ids))
assert expected == actual

0 comments on commit f111df7

Please sign in to comment.