mirror of
https://github.com/Bunsly/HomeHarvest.git
synced 2026-03-04 11:34:32 -08:00
- rename last_x_days
- docstrings for scrape_property
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user