- redfin city support

- test case updates
- types addition
- docs grammar
This commit is contained in:
Zachary Hampton
2023-09-16 13:39:03 -07:00
parent 2d6e746ae9
commit 5ea0fa0bdb
6 changed files with 43 additions and 15 deletions

View File

@@ -2,9 +2,11 @@ from homeharvest import scrape_property
def test_realtor():
result = scrape_property(
location="85281",
site_name="realtor.com"
)
results = [
scrape_property(
location="85281",
site_name="realtor.com"
),
]
assert result is not None
assert all([result is not None for result in results])

View File

@@ -2,9 +2,19 @@ from homeharvest import scrape_property
def test_redfin():
result = scrape_property(
site_name="redfin",
location="85281"
)
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 result is not None
assert all([result is not None for result in results])