mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-02 15:32:04 +00:00
Updated tests with new limit argument
This commit is contained in:
@@ -7,18 +7,18 @@ ssl._create_default_https_context = ssl._create_unverified_context
|
||||
|
||||
|
||||
def test_get_estate_sales():
|
||||
assert len(landRegistry_model.get_estate_sales("DA119NF")) > 0
|
||||
assert len(landRegistry_model.get_estate_sales("DA119NF", 10)) > 0
|
||||
|
||||
|
||||
def test_invalid_postcode_get_estate_sales():
|
||||
assert len(landRegistry_model.get_estate_sales("DA11")) == 0
|
||||
assert len(landRegistry_model.get_estate_sales("DA11", 10)) == 0
|
||||
|
||||
|
||||
def test_get_towns_sold_prices():
|
||||
assert (
|
||||
len(
|
||||
landRegistry_model.get_towns_sold_prices(
|
||||
"DARTFORD", "2019-01-01", "2022-01-01"
|
||||
"DARTFORD", "2019-01-01", "2022-01-01", 10
|
||||
)
|
||||
)
|
||||
> 0
|
||||
|
||||
Reference in New Issue
Block a user