Add test for access rights of menu and actions

issue4295
review12661002
This commit is contained in:
Nicolas Évrard committed 2015-01-02 16:08:03 +01:00
1 parent dbb28d48da
commit 4ab17e18ed
1 file changed
+5 -1
+5 -1
View File
@@ -2,7 +2,7 @@
# this repository contains the full copyright notices and license terms.
import unittest
from trytond.tests.test_tryton import POOL, DB_NAME, USER, CONTEXT, test_view,\
test_depends, install_module, suite as tryton_suite
test_depends, test_menu_action, install_module, suite as tryton_suite
from trytond.transaction import Transaction
@@ -24,6 +24,10 @@ class TestCase(unittest.TestCase):
'Test depends'
test_depends()
def test0007menu_actions(self):
'Test menu actions'
test_menu_action('party_relationship')
def test0010reverse_relationship(self):
'Test reverse relationship'
with Transaction().start(DB_NAME, USER, context=CONTEXT):