From 4ab17e18edf1f9e4b709be1a4663df2d432810cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 2 Jan 2015 16:08:03 +0100 Subject: [PATCH] Add test for access rights of menu and actions issue4295 review12661002 --- tests/test_party_relationship.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_party_relationship.py b/tests/test_party_relationship.py index c885ac17ba..31331aedf7 100644 --- a/tests/test_party_relationship.py +++ b/tests/test_party_relationship.py @@ -2,7 +2,7 @@ # this repository contains the full copyright notices and license terms. import unittest from trytond.tests.test_tryton import POOL, DB_NAME, USER, CONTEXT, test_view,\ - test_depends, install_module, suite as tryton_suite + test_depends, test_menu_action, install_module, suite as tryton_suite from trytond.transaction import Transaction @@ -24,6 +24,10 @@ class TestCase(unittest.TestCase): 'Test depends' test_depends() + def test0007menu_actions(self): + 'Test menu actions' + test_menu_action('party_relationship') + def test0010reverse_relationship(self): 'Test reverse relationship' with Transaction().start(DB_NAME, USER, context=CONTEXT):