Commit a6aab841 authored by Jérome Perrin's avatar Jérome Perrin

create a TestPackingListMixin for testInvoice


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4676 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8c5145bf
...@@ -55,11 +55,10 @@ from Products.ERP5Type import product_path ...@@ -55,11 +55,10 @@ from Products.ERP5Type import product_path
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from testOrder import TestOrderMixin from testOrder import TestOrderMixin
class TestPackingList(TestOrderMixin,ERP5TypeTestCase): class TestPackingListMixin(TestOrderMixin):
""" """
Test business template erp5_trade Test business template erp5_trade
""" """
run_all_test = 1
container_type = 'Container' container_type = 'Container'
container_line_type = 'Container Line' container_line_type = 'Container Line'
...@@ -418,6 +417,9 @@ class TestPackingList(TestOrderMixin,ERP5TypeTestCase): ...@@ -418,6 +417,9 @@ class TestPackingList(TestOrderMixin,ERP5TypeTestCase):
""" """
get_transaction().commit() get_transaction().commit()
class TestPackingList(TestPackingListMixin, ERP5TypeTestCase) :
run_all_test = 1
def test_01_PackingListChangeQuantity(self, quiet=0, run=run_all_test): def test_01_PackingListChangeQuantity(self, quiet=0, run=run_all_test):
""" """
Change the quantity on an delivery line, then Change the quantity on an delivery line, then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment