Commit e083db1d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

create a Memcached plugin in the test, that is required since r.27495.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27548 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7c610b49
......@@ -354,6 +354,12 @@ class TestSelectionToolMemcachedStorage(TestSelectionTool):
return "SelectionTool with Memcached Storage"
def afterSetUp(self):
# create a Memcached Plugin
memcached_tool = self.getPortal().portal_memcached
if getattr(memcached_tool, 'default_memcached_plugin', None) is None:
memcached_tool.newContent(portal_type='Memcached Plugin',
int_index=0,
url_string='127.0.0.1:11211')
self.portal.portal_selections.setStorage('Memcached Tool')
TestSelectionTool.afterSetUp(self)
......
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