Commit 0c932f14 authored by Łukasz Nowak's avatar Łukasz Nowak

- rename apparel depended tests

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22235 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 23b66aa3
...@@ -35,7 +35,7 @@ from Products.ERP5Type.tests.Sequence import SequenceList ...@@ -35,7 +35,7 @@ from Products.ERP5Type.tests.Sequence import SequenceList
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from testOrder import TestOrderMixin from testOrder import TestOrderMixin
class TestProductionOrderMixin(TestOrderMixin): class TestProductionOrderApparelMixin(TestOrderMixin):
run_all_test = 1 run_all_test = 1
order_portal_type = 'Production Order' order_portal_type = 'Production Order'
...@@ -908,7 +908,7 @@ class TestProductionOrderMixin(TestOrderMixin): ...@@ -908,7 +908,7 @@ class TestProductionOrderMixin(TestOrderMixin):
CheckSourcingSimulation \ CheckSourcingSimulation \
' '
class TestProductionOrder(TestProductionOrderMixin, ERP5TypeTestCase): class TestProductionOrderApparel(TestProductionOrderApparelMixin, ERP5TypeTestCase):
""" """
Test business template erp5_mrp Test business template erp5_mrp
""" """
...@@ -1289,5 +1289,5 @@ class TestProductionOrder(TestProductionOrderMixin, ERP5TypeTestCase): ...@@ -1289,5 +1289,5 @@ class TestProductionOrder(TestProductionOrderMixin, ERP5TypeTestCase):
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestProductionOrder)) suite.addTest(unittest.makeSuite(TestProductionOrderApparel))
return suite return suite
...@@ -33,10 +33,10 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase ...@@ -33,10 +33,10 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from zLOG import LOG from zLOG import LOG
from Products.ERP5Type.tests.Sequence import SequenceList from Products.ERP5Type.tests.Sequence import SequenceList
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from testProductionOrder import TestProductionOrderMixin from testProductionOrderApparel import TestProductionOrderApparelMixin
from testPackingList import TestPackingListMixin from testPackingList import TestPackingListMixin
class TestProductionPackingReportListMixin(TestProductionOrderMixin, TestPackingListMixin, \ class TestProductionPackingReportListMixin(TestProductionOrderApparelMixin, TestPackingListMixin, \
ERP5TypeTestCase): ERP5TypeTestCase):
"""Mixin for testing Production Packing Lists and Production Reports""" """Mixin for testing Production Packing Lists and Production Reports"""
...@@ -368,7 +368,7 @@ class TestProductionPackingReportListMixin(TestProductionOrderMixin, TestPacking ...@@ -368,7 +368,7 @@ class TestProductionPackingReportListMixin(TestProductionOrderMixin, TestPacking
packing_list.getCausalityState() packing_list.getCausalityState()
) )
class TestProductionDelivery(TestProductionPackingReportListMixin): class TestProductionDeliveryApparel(TestProductionPackingReportListMixin):
"""Test Production Packing Lists and Reports, mostly based on Production Orders""" """Test Production Packing Lists and Reports, mostly based on Production Orders"""
run_all_test = 1 run_all_test = 1
...@@ -621,5 +621,5 @@ class TestProductionDelivery(TestProductionPackingReportListMixin): ...@@ -621,5 +621,5 @@ class TestProductionDelivery(TestProductionPackingReportListMixin):
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestProductionDelivery)) suite.addTest(unittest.makeSuite(TestProductionDeliveryApparel))
return suite return suite
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