Add test for access rights of menu and actions

issue4295
review12661002
This commit is contained in:
Nicolas Évrard committed 2015-01-02 16:07:57 +01:00
1 parent 90cfa1c071
commit 2792b3edfa
1 file changed
+6 -2
+6 -2
View File
@@ -2,8 +2,8 @@
# this repository contains the full copyright notices and license terms.
import unittest
import trytond.tests.test_tryton
from trytond.tests.test_tryton import test_view, test_depends, \
POOL, DB_NAME, USER, CONTEXT
from trytond.tests.test_tryton import (test_view, test_depends,
test_menu_action, POOL, DB_NAME, USER, CONTEXT)
from trytond.transaction import Transaction
@@ -25,6 +25,10 @@ class BankTestCase(unittest.TestCase):
'Test depends'
test_depends()
def test0007menu_actions(self):
'Test menu actions'
test_menu_action('bank')
def test0010iban_format(self):
'Test IBAN format'
with Transaction().start(DB_NAME, USER, context=CONTEXT):