Commit 20faa1e1 authored by Gabriel Monnerat's avatar Gabriel Monnerat

rename script according to your right context

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44433 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8da52cd4
......@@ -20,7 +20,7 @@
</item>
<item>
<key> <string>domain_generator_method_id</string> </key>
<value> <string>WebPageModule_generateDomain</string> </value>
<value> <string>ERP5Site_generateDomain</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
......@@ -129,7 +129,7 @@ return domain_list\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebPageModule_generateDomain</string> </value>
<value> <string>ERP5Site_generateDomain</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -82,7 +82,7 @@ class TestUNG(ERP5TypeTestCase):
def getTitleListToBySubjectDomain(self):
parent = self.portal.portal_domains.ung_domain.by_subject
return [domain.getTitle() for domain in self.portal.WebPageModule_generateDomain(0, parent)]
return [domain.getTitle() for domain in self.portal.ERP5Site_generateDomain(0, parent)]
def testERP5Site_createNewWebDocument(self):
"""Test if the script creates the objects using Templates correctly"""
......@@ -97,8 +97,8 @@ class TestUNG(ERP5TypeTestCase):
portal_type="Web Illustration",
reference="default-Web.Illustration.Reference")
def testWebPageModule_generateDomain(self):
"""Test if script WebPageModule_generateDomain generates the list of
def testERP5Site_generateDomain(self):
"""Test if script ERP5Site_generateDomain generates the list of
domains correctly"""
web_page = self.portal.web_page_module.newContent(portal_type="Web Page")
self.stepTic()
......
302
\ No newline at end of file
303
\ No newline at end of file
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