Commit d94d9445 authored by Yusei Tahara's avatar Yusei Tahara

Fixed typo.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23819 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ffef75c8
...@@ -429,8 +429,8 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -429,8 +429,8 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional):
web_page_en.publish() web_page_en.publish()
get_transaction().commit() get_transaction().commit()
self.tic() self.tic()
self.assertEquals(1, len(websection.getDocumentValueList(anguage='en'))) self.assertEquals(1, len(websection.getDocumentValueList(language='en')))
self.assertEquals(web_page_en, websection.getDocumentValueList(anguage='en')[0].getObject()) self.assertEquals(web_page_en, websection.getDocumentValueList(language='en')[0].getObject())
# create pages belonging to this publication_section 'documentation' but for 'bg' language # create pages belonging to this publication_section 'documentation' but for 'bg' language
web_page_bg = portal.web_page_module.newContent(portal_type = 'Web Page', web_page_bg = portal.web_page_module.newContent(portal_type = 'Web Page',
......
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