Commit fa986c21 authored by Ivan Tyagov's avatar Ivan Tyagov

ERP5Site_getActiveKnowledgePadForUser is the new generic way which should be tested.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40930 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 924461c7
......@@ -214,7 +214,7 @@ class TestGadgets(ERP5TypeTestCase, ZopeTestCase.Functional):
mode='web_section',
default_pad_group = pad_group)
base_websection_pad, websection_pads = \
websection.WebSite_getActiveKnowledgePadForUser(websection_pads,
websection.ERP5Site_getActiveKnowledgePadForUser(websection_pads,
default_pad_group = pad_group)
# Check stick
......@@ -225,7 +225,7 @@ class TestGadgets(ERP5TypeTestCase, ZopeTestCase.Functional):
mode='web_section',
default_pad_group = pad_group)
current_websection_pad, websection_pads = \
websection.WebSite_getActiveKnowledgePadForUser(websection_pads,
websection.ERP5Site_getActiveKnowledgePadForUser(websection_pads,
default_pad_group = pad_group)
self.assertNotEqual(base_websection_pad.getObject(),
current_websection_pad.getObject())
......@@ -237,7 +237,7 @@ class TestGadgets(ERP5TypeTestCase, ZopeTestCase.Functional):
mode='web_section',
default_pad_group = pad_group)
current_websection_pad, websection_pads = \
websection.WebSite_getActiveKnowledgePadForUser(websection_pads,
websection.ERP5Site_getActiveKnowledgePadForUser(websection_pads,
default_pad_group = pad_group)
self.assertEqual(base_websection_pad.getObject(),
current_websection_pad.getObject())
......
1709
\ No newline at end of file
1710
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