pull/174/head
Cullen Watson 2024-07-19 14:24:13 -05:00
parent 9dd9354494
commit 4826e8bd97
4 changed files with 4 additions and 4 deletions

View File

@ -9,5 +9,5 @@ def test_glasdoor():
results_wanted=5, results_wanted=5,
) )
assert ( assert (
isinstance(result, pd.DataFrame) and len(result) == 20 isinstance(result, pd.DataFrame) and len(result) == 5
), "Result should be a non-empty DataFrame" ), "Result should be a non-empty DataFrame"

View File

@ -9,5 +9,5 @@ def test_indeed():
results_wanted=5, results_wanted=5,
) )
assert ( assert (
isinstance(result, pd.DataFrame) and len(result) == 20 isinstance(result, pd.DataFrame) and len(result) == 5
), "Result should be a non-empty DataFrame" ), "Result should be a non-empty DataFrame"

View File

@ -5,5 +5,5 @@ import pandas as pd
def test_linkedin(): def test_linkedin():
result = scrape_jobs(site_name="linkedin", search_term="engineer", results_wanted=5) result = scrape_jobs(site_name="linkedin", search_term="engineer", results_wanted=5)
assert ( assert (
isinstance(result, pd.DataFrame) and len(result) == 20 isinstance(result, pd.DataFrame) and len(result) == 5
), "Result should be a non-empty DataFrame" ), "Result should be a non-empty DataFrame"

View File

@ -8,5 +8,5 @@ def test_ziprecruiter():
) )
assert ( assert (
isinstance(result, pd.DataFrame) and len(result) == 20 isinstance(result, pd.DataFrame) and len(result) == 5
), "Result should be a non-empty DataFrame" ), "Result should be a non-empty DataFrame"