From 9c43f82fb1a4f386d6b8661b4bacf619f0ed4f20 Mon Sep 17 00:00:00 2001 From: Cullen Watson Date: Sat, 19 Oct 2024 18:01:02 -0500 Subject: [PATCH] pass test --- tests/test_all.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/test_all.py b/tests/test_all.py index d395850..3285611 100644 --- a/tests/test_all.py +++ b/tests/test_all.py @@ -3,15 +3,16 @@ import pandas as pd def test_all(): + sites = [ + "indeed", + "glassdoor", + ] # ziprecruiter/linkedin needs good ip, and temp fix to pass test on ci result = scrape_jobs( - site_name=[ - "indeed", - "glassdoor", - ], # ziprecruiter/linkedin needs good ip, and temp fix to pass test on ci + site_name=sites, search_term="engineer", results_wanted=5, ) assert ( - isinstance(result, pd.DataFrame) and len(result) == 15 + isinstance(result, pd.DataFrame) and len(result) == len(sites) * 5 ), "Result should be a non-empty DataFrame"