diff --git a/hub/city_model_structure/building.py b/hub/city_model_structure/building.py index a5650013..85176b1c 100644 --- a/hub/city_model_structure/building.py +++ b/hub/city_model_structure/building.py @@ -262,7 +262,7 @@ class Building(CityObject): @property def usages(self) -> Union[None, list]: """ - Get building usages, if none, assume useage is function + Get building usages, if none, assume usage is function :return: None or list of functions """ if self._usages is None and self._function is not None: diff --git a/hub/helpers/usage_parsers.py b/hub/helpers/usage_parsers.py index ab07466c..38616b20 100644 --- a/hub/helpers/usage_parsers.py +++ b/hub/helpers/usage_parsers.py @@ -8,7 +8,7 @@ Project Coder Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca from hub.helpers.parsers.list_usage_to_hub import ListUsageToHub from hub.helpers.parsers.string_usage_to_hub import StringUsageToHub -class UseageParsers: +class UsageParsers: """ Dictionaries class """ diff --git a/tests/test_usage_factory.py b/tests/test_usage_factory.py index 9bd2063f..33182342 100644 --- a/tests/test_usage_factory.py +++ b/tests/test_usage_factory.py @@ -11,7 +11,7 @@ from hub.imports.geometry_factory import GeometryFactory from hub.imports.construction_factory import ConstructionFactory from hub.imports.usage_factory import UsageFactory from hub.helpers.dictionaries import Dictionaries -from hub.helpers.usage_parsers import UseageParsers +from hub.helpers.usage_parsers import UsageParsers class TestUsageFactory(TestCase): @@ -185,7 +185,7 @@ class TestUsageFactory(TestCase): file_path = (self._example_path / file).resolve() function_dictionary = Dictionaries().montreal_function_to_hub_function - usage_parser = UseageParsers().list_usage_to_hub(function_dictionary=function_dictionary) + usage_parser = UsageParsers().list_usage_to_hub(function_dictionary=function_dictionary) city = GeometryFactory('geojson', path=file_path,