Pyflakes fixes.

This commit is contained in:
Albert Cervera i Areny 2021-03-19 23:06:22 +01:00
parent 737882911a
commit 619b626d57
2 changed files with 4 additions and 7 deletions

View file

@ -1,12 +1,11 @@
# The COPYRIGHT file at the top level of this repository contains # The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms. # the full copyright notices and license terms.
from trytond.pool import Pool, PoolMeta from trytond.pool import PoolMeta
from trytond.model import fields, ModelSQL, ModelView, Unique, Check from trytond.model import fields
__all__ = ['Template']
class Template(metaclass=PoolMeta): class Template(metaclass=PoolMeta):
__name__ = 'product.template' __name__ = 'product.template'
purchase_homologation_required = fields.Boolean('Purchase Homologation Required') purchase_homologation_required = fields.Boolean('Purchase Homologation '
'Required')

View file

@ -3,8 +3,6 @@
# the full copyright notices and license terms. # the full copyright notices and license terms.
import doctest import doctest
import unittest import unittest
import trytond.tests.test_tryton
from trytond.tests.test_tryton import ModuleTestCase from trytond.tests.test_tryton import ModuleTestCase
from trytond.tests.test_tryton import suite as test_suite from trytond.tests.test_tryton import suite as test_suite
from trytond.tests.test_tryton import doctest_teardown, doctest_checker from trytond.tests.test_tryton import doctest_teardown, doctest_checker