When group access exists, a default model access should be defined otherwise all access are given to non group users. issue4485 review5941002
18 lines
524 B
Python
18 lines
524 B
Python
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
# this repository contains the full copyright notices and license terms.
|
|
import unittest
|
|
import trytond.tests.test_tryton
|
|
from trytond.tests.test_tryton import ModuleTestCase
|
|
|
|
|
|
class ProductTestCase(ModuleTestCase):
|
|
'Test Product Attribute module'
|
|
module = 'product_attribute'
|
|
|
|
|
|
def suite():
|
|
suite = trytond.tests.test_tryton.suite()
|
|
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
|
ProductTestCase))
|
|
return suite
|