Skip to content

Commit

Permalink
pass test
Browse files Browse the repository at this point in the history
  • Loading branch information
cullenwatson committed Oct 19, 2024
1 parent 6ba571f commit 9c43f82
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@


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"

0 comments on commit 9c43f82

Please sign in to comment.