Commit 939ad480 authored by Łukasz Nowak's avatar Łukasz Nowak

- this part of test was moved to memcached storage testing class

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23215 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ccb91da4
...@@ -59,7 +59,6 @@ class TestSelectionTool(ERP5TypeTestCase): ...@@ -59,7 +59,6 @@ class TestSelectionTool(ERP5TypeTestCase):
def testGetSelectionContainer(self, quiet=quiet, run=run_all_test): def testGetSelectionContainer(self, quiet=quiet, run=run_all_test):
if not run: return if not run: return
# use persistent mapping by default
self.assertEquals(['test_selection'], self.assertEquals(['test_selection'],
self.portal_selections.getSelectionNameList()) self.portal_selections.getSelectionNameList())
self.assertEquals(['test_selection'], self.assertEquals(['test_selection'],
...@@ -68,15 +67,6 @@ class TestSelectionTool(ERP5TypeTestCase): ...@@ -68,15 +67,6 @@ class TestSelectionTool(ERP5TypeTestCase):
is not None) is not None)
self.assert_(getattr(self.portal_selections, 'selection_data', None) self.assert_(getattr(self.portal_selections, 'selection_data', None)
is not None) is not None)
# use memcached tool
self.portal_selections.setStorage('Memcached Tool')
self.assertEquals([],
self.portal_selections.getSelectionNameList())
self.assertEquals([],
self.portal_selections.getSelectionNames())
self.assert_(self.portal_selections._getMemcachedContainer() is not None)
self.assert_(getattr(self.portal_selections, '_v_selection_data', None)
is not None)
def testGetSelectionFor(self, quiet=quiet, run=run_all_test): def testGetSelectionFor(self, quiet=quiet, run=run_all_test):
if not run: return if not run: return
......
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