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