Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 8f12936

Browse files
committed
give some time to twitter before checking
1 parent fbaf200 commit 8f12936

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_sanity.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ def test_metadata_multipic():
142142
assert res
143143
assert res["extended_entities"]
144144
assert len(res["extended_entities"]["media"]) == len(pics)
145-
recent = twitter11.statuses.user_timeline(include_ext_alt_text=True, include_entities=True)
145+
time.sleep(5)
146+
recent = twitter11.statuses.user_timeline(include_ext_alt_text=True, include_entities=True, count=20)
146147
assert recent
147148
texts = [clean_link(t['text']) for t in recent]
148149
assert random_tweet in texts

0 commit comments

Comments
 (0)