Commit 5f0e9e24 authored by Romain Courteaud's avatar Romain Courteaud

Remove one deprecated test, with does not work anymore because of the option

variation.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3496 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 839844f5
...@@ -570,8 +570,9 @@ class TestOrderMixin: ...@@ -570,8 +570,9 @@ class TestOrderMixin:
# Test resource variation # Test resource variation
cvcl = cell.getVariationCategoryList() cvcl = cell.getVariationCategoryList()
olvcl = order_line.getVariationCategoryList() olvcl = order_line.getVariationCategoryList()
self.assertEquals(len(order_line.getVariationRangeBaseCategoryList()), \ # This test is not valide anymore, because of option variation
len(cvcl)) # self.assertEquals(len(order_line.getVariationRangeBaseCategoryList()), \
# len(cvcl))
for variation_category in cvcl: for variation_category in cvcl:
self.failUnless(variation_category in olvcl) self.failUnless(variation_category in olvcl)
...@@ -826,7 +827,7 @@ class TestOrderMixin: ...@@ -826,7 +827,7 @@ class TestOrderMixin:
class TestOrder(TestOrderMixin,ERP5TypeTestCase): class TestOrder(TestOrderMixin, ERP5TypeTestCase):
""" """
Test business template erp5_trade Test business template erp5_trade
""" """
......
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