Commit 76bd8d61 authored by Sebastien Robin's avatar Sebastien Robin

remove a test, because it not yet implemented and we may never want it

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9645 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fafd7dc9
...@@ -885,7 +885,7 @@ class ActivityTool (Folder, UniqueObject): ...@@ -885,7 +885,7 @@ class ActivityTool (Folder, UniqueObject):
try: try:
message_count += activity.countMessageWithTag(self, value) message_count += activity.countMessageWithTag(self, value)
except AttributeError: except AttributeError:
LOG('getMessageList, could not get message from Activity:', 0, activity) LOG('getMessageList, could not get count message from Activity:', 0, activity)
return message_count return message_count
security.declareProtected( CMFCorePermissions.ManagePortal , 'newActiveProcess' ) security.declareProtected( CMFCorePermissions.ManagePortal , 'newActiveProcess' )
......
...@@ -1339,17 +1339,6 @@ class TestCMFActivity(ERP5TypeTestCase): ...@@ -1339,17 +1339,6 @@ class TestCMFActivity(ERP5TypeTestCase):
LOG('Testing... ', 0, message) LOG('Testing... ', 0, message)
self.CheckCountMessageWithTag('SQLDict') self.CheckCountMessageWithTag('SQLDict')
def test_67_TestCountMessageWithTagWithSQLQueue(self, quiet=0, run=run_all_test):
"""
Test new countMessageWithTag function with SQLQueue.
"""
if not run: return
if not quiet:
message = '\nCheck countMessageWithTag'
ZopeTestCase._print(message)
LOG('Testing... ', 0, message)
self.CheckCountMessageWithTag('SQLQueue')
if __name__ == '__main__': if __name__ == '__main__':
framework() framework()
else: else:
......
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