Add test for access rights of menu and actions
issue4295 review12661002
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import unittest
|
||||
import doctest
|
||||
import trytond.tests.test_tryton
|
||||
from trytond.tests.test_tryton import test_view, test_depends
|
||||
from trytond.tests.test_tryton import test_view, test_depends, test_menu_action
|
||||
from trytond.tests.test_tryton import doctest_setup, doctest_teardown
|
||||
|
||||
|
||||
@@ -21,6 +21,10 @@ class ProductionTestCase(unittest.TestCase):
|
||||
'Test depends'
|
||||
test_depends()
|
||||
|
||||
def test0007menu_actions(self):
|
||||
'Test menu actions'
|
||||
test_menu_action('production')
|
||||
|
||||
|
||||
def suite():
|
||||
suite = trytond.tests.test_tryton.suite()
|
||||
|
||||
Reference in New Issue
Block a user