indeed:remove tpe (#210)

This commit is contained in:
Cullen Watson
2024-10-19 18:01:59 -05:00
committed by GitHub
parent 9207ab56f6
commit 9f4083380d
14 changed files with 426 additions and 407 deletions

View File

@@ -3,16 +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=[
"linkedin",
"indeed",
"glassdoor",
], # ziprecruiter 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"