From 06095ed5eecbcb9e283e76c1339cbc752c3aac3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Thu, 12 Aug 2010 14:22:02 +0000
Subject: [PATCH]  - test Internal Supplies

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37773 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testSupply.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/product/ERP5/tests/testSupply.py b/product/ERP5/tests/testSupply.py
index 818423fd8d..c1c4c9dbeb 100644
--- a/product/ERP5/tests/testSupply.py
+++ b/product/ERP5/tests/testSupply.py
@@ -253,8 +253,22 @@ class TestPurchaseSupply(TestSaleSupply):
   def getTitle(self):
     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():
   suite = unittest.TestSuite()
   suite.addTest(unittest.makeSuite(TestSaleSupply))
   suite.addTest(unittest.makeSuite(TestPurchaseSupply))
+  suite.addTest(unittest.makeSuite(TestInternalSupply))
   return suite
-- 
2.30.9