From 32ea9897a13930c8eb1b4812d5d76abe24dc510e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 2 Jan 2015 16:08:00 +0100 Subject: [PATCH] Add test for access rights of menu and actions issue4295 review12661002 --- tests/test_company.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_company.py b/tests/test_company.py index a5cff5951d..2ed6120c7b 100644 --- a/tests/test_company.py +++ b/tests/test_company.py @@ -3,7 +3,7 @@ import unittest import trytond.tests.test_tryton from trytond.tests.test_tryton import POOL, DB_NAME, USER, CONTEXT, test_view,\ - test_depends + test_depends, test_menu_action from trytond.transaction import Transaction @@ -26,6 +26,10 @@ class CompanyTestCase(unittest.TestCase): 'Test depends' test_depends() + def test0007menu_actions(self): + 'Test menu actions' + test_menu_action('company') + def test0010company(self): 'Create company' with Transaction().start(DB_NAME, USER,