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