21 lines
455 B
Python
21 lines
455 B
Python
from homeharvest import scrape_property
|
|
|
|
|
|
def test_redfin():
|
|
results = [
|
|
scrape_property(
|
|
location="Phoenix, AZ, USA",
|
|
site_name="redfin"
|
|
),
|
|
scrape_property(
|
|
location="Dallas, TX, USA",
|
|
site_name="redfin"
|
|
),
|
|
scrape_property(
|
|
location="85281",
|
|
site_name="redfin"
|
|
),
|
|
]
|
|
|
|
assert all([result is not None for result in results])
|