- rename last_x_days

- docstrings for scrape_property
This commit is contained in:
Zachary Hampton
2023-10-04 18:06:06 -07:00
parent 6bb68766fc
commit de692faae2
5 changed files with 18 additions and 13 deletions

View File

@@ -9,7 +9,7 @@ def test_realtor_comps():
result = scrape_property(
location="2530 Al Lipscomb Way",
radius=0.5,
last_x_days=180,
property_younger_than=180,
listing_type="sold",
)
@@ -18,11 +18,11 @@ def test_realtor_comps():
def test_realtor_last_x_days_sold():
days_result_30 = scrape_property(
location="Dallas, TX", listing_type="sold", last_x_days=30
location="Dallas, TX", listing_type="sold", property_younger_than=30
)
days_result_10 = scrape_property(
location="Dallas, TX", listing_type="sold", last_x_days=10
location="Dallas, TX", listing_type="sold", property_younger_than=10
)
assert all(