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 @@ ...@@ -20,7 +20,7 @@
</item> </item>
<item> <item>
<key> <string>domain_generator_method_id</string> </key> <key> <string>domain_generator_method_id</string> </key>
<value> <string>WebPageModule_generateDomain</string> </value> <value> <string>ERP5Site_generateDomain</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
...@@ -129,7 +129,7 @@ return domain_list\n ...@@ -129,7 +129,7 @@ return domain_list\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>WebPageModule_generateDomain</string> </value> <value> <string>ERP5Site_generateDomain</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -82,7 +82,7 @@ class TestUNG(ERP5TypeTestCase): ...@@ -82,7 +82,7 @@ class TestUNG(ERP5TypeTestCase):
def getTitleListToBySubjectDomain(self): def getTitleListToBySubjectDomain(self):
parent = self.portal.portal_domains.ung_domain.by_subject 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): def testERP5Site_createNewWebDocument(self):
"""Test if the script creates the objects using Templates correctly""" """Test if the script creates the objects using Templates correctly"""
...@@ -97,8 +97,8 @@ class TestUNG(ERP5TypeTestCase): ...@@ -97,8 +97,8 @@ class TestUNG(ERP5TypeTestCase):
portal_type="Web Illustration", portal_type="Web Illustration",
reference="default-Web.Illustration.Reference") reference="default-Web.Illustration.Reference")
def testWebPageModule_generateDomain(self): def testERP5Site_generateDomain(self):
"""Test if script WebPageModule_generateDomain generates the list of """Test if script ERP5Site_generateDomain generates the list of
domains correctly""" domains correctly"""
web_page = self.portal.web_page_module.newContent(portal_type="Web Page") web_page = self.portal.web_page_module.newContent(portal_type="Web Page")
self.stepTic() self.stepTic()
......
302 303
\ No newline at end of file \ 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