From 5bc34e65bf943fa776ab324ad78a2c72e1842dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 2 Jan 2015 16:07:55 +0100 Subject: [PATCH] Add test for access rights of menu and actions issue4295 review12661002 --- tests/test_account_stock_continental.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_account_stock_continental.py b/tests/test_account_stock_continental.py index 6d428792c2..56e7db7932 100644 --- a/tests/test_account_stock_continental.py +++ b/tests/test_account_stock_continental.py @@ -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 AccountStockContinentalTestCase(unittest.TestCase): 'Test depends' test_depends() + def test0007menu_actions(self): + 'Test menu actions' + test_menu_action('account_stock_continental') + def suite(): suite = trytond.tests.test_tryton.suite()