mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-13 21:02:13 +00:00
still trying to resolve linting issues
This commit is contained in:
@@ -25,7 +25,7 @@ class AlternativeDataController(BaseController):
|
||||
"""Alternative Controller class"""
|
||||
|
||||
CHOICES_COMMANDS: List[str] = ["hn"]
|
||||
CHOICES_MENUS = ["covid", "oss","realestate"]
|
||||
CHOICES_MENUS = ["covid", "oss", "realestate"]
|
||||
PATH = "/alternative/"
|
||||
CHOICES_GENERATION = True
|
||||
|
||||
@@ -87,11 +87,7 @@ class AlternativeDataController(BaseController):
|
||||
def call_realestate(self, _):
|
||||
"""Process realestate command."""
|
||||
from openbb_terminal.alternative.realestate.realestate_controller import (
|
||||
RealEstateController,
|
||||
RealEstateController,
|
||||
)
|
||||
|
||||
self.queue = self.load_class(RealEstateController, self.queue)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ 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"
|
||||
)
|
||||
)
|
||||
> 0
|
||||
@@ -29,6 +29,3 @@ def test_get_region_stats():
|
||||
assert (
|
||||
len(landRegistry_model.get_region_stats("KENT", "2019-01-01", "2022-01-01")) > 0
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user