Commit 06095ed5 authored by Łukasz Nowak's avatar Łukasz Nowak

- test Internal Supplies


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37773 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 08ee25e3
...@@ -253,8 +253,22 @@ class TestPurchaseSupply(TestSaleSupply): ...@@ -253,8 +253,22 @@ class TestPurchaseSupply(TestSaleSupply):
def getTitle(self): def getTitle(self):
return "Purchase Supply" return "Purchase Supply"
class TestInternalSupply(TestSaleSupply):
"""
Test Internal Supplies usage
"""
run_all_test = 1
supply_portal_type = 'Internal Supply'
supply_line_portal_type = 'Internal Supply Line'
supply_cell_portal_type = 'Internal Supply Cell'
def getTitle(self):
return "Internal Supply"
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestSaleSupply)) suite.addTest(unittest.makeSuite(TestSaleSupply))
suite.addTest(unittest.makeSuite(TestPurchaseSupply)) suite.addTest(unittest.makeSuite(TestPurchaseSupply))
suite.addTest(unittest.makeSuite(TestInternalSupply))
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