Add test for access rights of menu and actions

issue4295
review12661002
This commit is contained in:
Nicolas Évrard committed 2015-01-02 16:08:11 +01:00
1 parent 6477580c6f
commit d76c3a807f
1 file changed
+5 -1
+5 -1
View File
@@ -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.transaction import Transaction
@@ -35,6 +35,10 @@ class StockSupplyDayTestCase(unittest.TestCase):
'Test depends'
test_depends()
def test0007menu_actions(self):
'Test menu actions'
test_menu_action('stock_supply_day')
def test0010compute_supply_date(self):
'Test compute_supply_date'
dates = [