Files
tryton/cookiecutter-module/{{ cookiecutter.module_name }}/tests/test_module.py
T

15 lines
494 B
Python

{% if not cookiecutter.prefix -%}
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
{%- endif %}
from trytond.tests.test_tryton import ModuleTestCase
class {{ cookiecutter.module_name.replace('_', ' ').title().replace(' ', '') }}TestCase(ModuleTestCase):
"Test {{ cookiecutter.module_name.replace('_', ' ').title() }} module"
module = '{{ cookiecutter.module_name }}'
del ModuleTestCase