From 672871d433d8b2fabb4c283302d726713b148c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 2 Jan 2015 16:07:54 +0100 Subject: [PATCH] Add test for access rights of menu and actions issue4295 review12661002 --- tests/test_account_product.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_account_product.py b/tests/test_account_product.py index ece0dc73cc..d3bbe47312 100644 --- a/tests/test_account_product.py +++ b/tests/test_account_product.py @@ -4,7 +4,7 @@ import unittest from decimal import Decimal 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 POOL, DB_NAME, USER, CONTEXT from trytond.transaction import Transaction from trytond.exceptions import UserError @@ -24,6 +24,10 @@ class AccountProductTestCase(unittest.TestCase): 'Test depends' test_depends() + def test0007menu_actions(self): + 'Test menu actions' + test_menu_action('account_product') + def test_account_used(self): 'Test account used' ProductTemplate = POOL.get('product.template')