From 5589b66b0869b93bf79dc2a0acdabfbea2d2c852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 2 Jan 2015 16:08:11 +0100 Subject: [PATCH] Add test for access rights of menu and actions issue4295 review12661002 --- tests/test_stock_supply.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_stock_supply.py b/tests/test_stock_supply.py index 70c042d59b..affc3b2cda 100644 --- a/tests/test_stock_supply.py +++ b/tests/test_stock_supply.py @@ -6,7 +6,7 @@ import datetime from decimal import Decimal 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.tests.test_tryton import doctest_setup, doctest_teardown from trytond.transaction import Transaction @@ -46,6 +46,10 @@ class StockSupplyTestCase(unittest.TestCase): 'Test depends' test_depends() + def test0007menu_actions(self): + 'Test menu actions' + test_menu_action('stock_supply') + def test0010compute_supply_date(self): 'Test compute_supply_date' for purchase_date, delivery_time, supply_date in DATES: