Skip to content

Commit e23928e

Browse files
committed
fix the wrong min value for alternatives_data on the related test case
1 parent e8a07aa commit e23928e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

g2-scraper/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def test_alternative_scraping():
128128
k,
129129
min_perc=alternatives_schema[k].get("min_presence", 0.1),
130130
)
131-
assert len(alternatives_data) == 10
131+
assert len(alternatives_data) >= 5
132132
if os.getenv("SAVE_TEST_RESULTS") == "true":
133133
alternatives_data.sort(key=lambda x: x["link"])
134134
(Path(__file__).parent / 'results/search.json').write_text(

0 commit comments

Comments
 (0)