Skip to content

Commit

Permalink
make fewer calls in recent search test, allow fewer results
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbrigadir committed Oct 25, 2022
1 parent 6721df0 commit 4c0d3e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_twarc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ def test_search_recent(sort_order):
tweets = response_page["data"]
found_tweets += len(tweets)

if pages == 3:
if pages == 2:
break

assert 200 <= found_tweets <= 300
assert 100 <= found_tweets <= 200


def test_counts_recent():
Expand Down

0 comments on commit 4c0d3e1

Please sign in to comment.