still trying to resolve linting issues

This commit is contained in:
kulbinder dio
2023-01-16 19:55:22 +00:00
parent 308b0a6add
commit 5276606bd1
2 changed files with 3 additions and 10 deletions

View File

@@ -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)

View File

@@ -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
)