From b059c33f4fb70b8bd5787efb9f81c4a0a6d045f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 2 Jan 2015 16:07:53 +0100 Subject: [PATCH] Add test for access rights of menu and actions issue4295 review12661002 --- tests/test_account_invoice_history.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_account_invoice_history.py b/tests/test_account_invoice_history.py index 7b3451b64e..7e0feacb8c 100644 --- a/tests/test_account_invoice_history.py +++ b/tests/test_account_invoice_history.py @@ -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_depends +from trytond.tests.test_tryton import test_depends, test_menu_action class AccountInvoiceHistoryTestCase(unittest.TestCase): @@ -15,6 +15,10 @@ class AccountInvoiceHistoryTestCase(unittest.TestCase): 'Test depends' test_depends() + def test0007menu_actions(self): + 'Test menu actions' + test_menu_action('account_invoice_history') + def suite(): suite = trytond.tests.test_tryton.suite()