mirror of https://github.com/Bunsly/JobSpy
15 lines
353 B
Python
15 lines
353 B
Python
from ..jobspy import scrape_jobs
|
|
import pandas as pd
|
|
|
|
|
|
def test_all():
|
|
result = scrape_jobs(
|
|
site_name=["linkedin", "indeed", "zip_recruiter"],
|
|
search_term="software engineer",
|
|
results_wanted=5,
|
|
)
|
|
|
|
assert (
|
|
isinstance(result, pd.DataFrame) and not result.empty
|
|
), "Result should be a non-empty DataFrame"
|