Commit ae49375a authored by Ivan Tyagov's avatar Ivan Tyagov

Fix test to switch to KM skin before publishing gadget.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34697 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e6388987
......@@ -69,7 +69,6 @@ class TestGadgets(ERP5TypeTestCase, ZopeTestCase.Functional):
portal = self.getPortal()
web_site_module = portal.web_site_module
self.website = web_site_module.newContent(portal_type='Web Site')
self.website.setSkinSelectionName('KM')
self.websection = self.website.newContent(portal_type='Web Section')
self.app.REQUEST.set('current_web_section', self.websection)
self.webpage = portal.web_page_module.newContent(
......@@ -610,6 +609,7 @@ class TestGadgets(ERP5TypeTestCase, ZopeTestCase.Functional):
subsection = self.websection.newContent(portal_type='Web Section',
title='Sub Section 12345')
self.stepTic()
self.changeSkin('KM')
self.failUnless(subsection.getTitle() in
self.publish(self.base_url_pattern %(self.web_section_url,
gadget_view_form_id,
......
1337
\ No newline at end of file
1338
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