From 4c0d3e1ed0a05513b78141473aa0fc86face1fde Mon Sep 17 00:00:00 2001 From: Igor Brigadir Date: Tue, 25 Oct 2022 11:46:36 +0100 Subject: [PATCH] make fewer calls in recent search test, allow fewer results --- test_twarc2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_twarc2.py b/test_twarc2.py index 429c0b5c..b2a8d3b3 100644 --- a/test_twarc2.py +++ b/test_twarc2.py @@ -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():