Add test for access rights of menu and actions

issue4295
review12661002
This commit is contained in:
Nicolas Évrard committed 2015-01-02 16:07:52 +01:00
1 parent 5db76997da
commit cf1936e1c3
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
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
class AccountDunningLetterTestCase(unittest.TestCase):
@@ -19,6 +19,10 @@ class AccountDunningLetterTestCase(unittest.TestCase):
'Test depends'
test_depends()
def test0007menu_actions(self):
'Test menu actions'
test_menu_action('account_dunning_letter')
def suite():
suite = trytond.tests.test_tryton.suite()