Commit d277380e authored by Julien Muchembled's avatar Julien Muchembled

testWorklist.test_02_related_key must work.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27760 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a22fce1c
......@@ -29,6 +29,7 @@
import unittest
from Products.ERP5.tests.testWorklist import TestWorklist
from Products.ERP5Type.tests.utils import todo_erp5
class TestSQLCachedWorklist(TestWorklist):
def getBusinessTemplateList(self):
......@@ -41,6 +42,8 @@ class TestSQLCachedWorklist(TestWorklist):
TestWorklist.clearCache(self)
self.portal.portal_workflow.refreshWorklistCache()
test_02_related_key = todo_erp5(TestWorklist.test_02_related_key)
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestSQLCachedWorklist))
......
......@@ -36,7 +36,6 @@ from Products.ERP5Type.tests.Sequence import SequenceList
from zExceptions import BadRequest
from Products.ERP5Type.Tool.ClassTool import _aq_reset
from Testing.ZopeTestCase.PortalTestCase import PortalTestCase
from Products.ERP5Type.tests.utils import todo_erp5
class TestWorklist(ERP5TypeTestCase):
......@@ -359,7 +358,6 @@ class TestWorklist(ERP5TypeTestCase):
finally:
self.removeWorklists()
@todo_erp5
def test_02_related_key(self, quiet=0, run=run_all_test):
"""
Test related keys
......
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