def test_should_load_resources_from_package(self): # Given clear_resources() # When load_resources("snips_nlu_en") # Then self.assertTrue(resource_exists("en", "gazetteers"))
def test_should_load_resources_from_data_path(self): # Given clear_resources() # When load_resources("en") # Then self.assertTrue(resource_exists("en", "gazetteers"))
def test_should_load_resources_from_path(self): # Given clear_resources() resources_path = DATA_PATH / "en" # When load_resources(str(resources_path)) # Then self.assertTrue(resource_exists("en", "gazetteers"))