Commit d4431546 authored by Łukasz Nowak's avatar Łukasz Nowak

- skip tests with request to be finished

 - skip testDeleteGlobalSelection with request to be decided


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30958 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4cc4b583
...@@ -37,7 +37,7 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase ...@@ -37,7 +37,7 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from AccessControl.SecurityManagement import newSecurityManager from AccessControl.SecurityManagement import newSecurityManager
from Products.ERP5Form.Selection import Selection from Products.ERP5Form.Selection import Selection
from Products.ERP5Form.Tool.SelectionTool import SelectionTool from Products.ERP5Form.Tool.SelectionTool import SelectionTool
from Products.ERP5Type.tests.backportUnittest import skip
class TestSelectionTool(ERP5TypeTestCase): class TestSelectionTool(ERP5TypeTestCase):
...@@ -87,6 +87,7 @@ class TestSelectionTool(ERP5TypeTestCase): ...@@ -87,6 +87,7 @@ class TestSelectionTool(ERP5TypeTestCase):
'context/portal_selections/test_selection/not_found | string:default')) 'context/portal_selections/test_selection/not_found | string:default'))
@skip('Test to be written')
def testCallSelectionFor(self): def testCallSelectionFor(self):
self.assertEquals(None, self.assertEquals(None,
self.portal_selections.callSelectionFor('not_found_selection')) self.portal_selections.callSelectionFor('not_found_selection'))
...@@ -168,9 +169,11 @@ class TestSelectionTool(ERP5TypeTestCase): ...@@ -168,9 +169,11 @@ class TestSelectionTool(ERP5TypeTestCase):
self.assertEquals([], self.assertEquals([],
self.portal_selections.getSelectionStats('test_selection')) self.portal_selections.getSelectionStats('test_selection'))
@skip('Test to be written')
def testView(self): def testView(self):
raise NotImplementedError('test should be added') raise NotImplementedError('test should be added')
@skip('Test to be written')
def testPage(self): def testPage(self):
raise NotImplementedError('test should be added') raise NotImplementedError('test should be added')
...@@ -375,6 +378,10 @@ class TestSelectionToolMemcachedStorage(TestSelectionTool): ...@@ -375,6 +378,10 @@ class TestSelectionToolMemcachedStorage(TestSelectionTool):
self.assert_(getattr(self.portal_selections, '_v_selection_data', None) self.assert_(getattr(self.portal_selections, '_v_selection_data', None)
is not None) is not None)
@skip('To be decided if implementation is required')
def testDeleteGlobalSelection(self):
pass
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestSelectionTool)) suite.addTest(unittest.makeSuite(TestSelectionTool))
......
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