diff --git a/hub/catalog_factories/usage_catalog_factory.py b/hub/catalog_factories/usage_catalog_factory.py index b7314de3..ce015a35 100644 --- a/hub/catalog_factories/usage_catalog_factory.py +++ b/hub/catalog_factories/usage_catalog_factory.py @@ -56,10 +56,3 @@ class UsageCatalogFactory: :return: Catalog """ return getattr(self, self._catalog_type, lambda: None) - @property - def catalog_debug(self) -> Catalog: - """ - Enrich the city given to the class using the class given handler - :return: Catalog - """ - return NrcanCatalog(self._path) diff --git a/tests/test_usage_catalog.py b/tests/test_usage_catalog.py index 81742ceb..2d927372 100644 --- a/tests/test_usage_catalog.py +++ b/tests/test_usage_catalog.py @@ -17,7 +17,7 @@ class TestConstructionCatalog(TestCase): self.assertEqual(32, len(content.usages), 'Wrong number of usages') def test_nrcan_catalog(self): - catalog = UsageCatalogFactory('nrcan').catalog_debug + catalog = UsageCatalogFactory('nrcan').catalog self.assertIsNotNone(catalog, 'catalog is none') content = catalog.entries() self.assertEqual(34, len(content.usages), 'Wrong number of usages')