def list_templates() -> None: click.echo('Available templates:') for model in template_handler.list_template(): click.echo('- {}'.format(model))
def testList(self): templates = template_handler.list_template() self.assertNotEqual(templates, []) self.assertIn('taxi', templates)