Commit 344def78 authored by Fabien Morin's avatar Fabien Morin

remove extra spaces


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39913 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6653d0d0
############################################################################## ##############################################################################
# #
# Copyright (c) 2004, 2005, 2006 Nexedi SARL and Contributors. # Copyright (c) 2004, 2005, 2006 Nexedi SARL and Contributors.
# All Rights Reserved. # All Rights Reserved.
# Romain Courteaud <romain@nexedi.com> # Romain Courteaud <romain@nexedi.com>
# #
...@@ -47,10 +47,10 @@ class TestERP5Discussion(ERP5TypeTestCase): ...@@ -47,10 +47,10 @@ class TestERP5Discussion(ERP5TypeTestCase):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
""" """
""" """
return ('erp5_core', 'erp5_base', return ('erp5_core', 'erp5_base',
'erp5_xhtml_style', 'erp5_ingestion', 'erp5_xhtml_style', 'erp5_ingestion',
'erp5_web', 'erp5_dms', 'erp5_web', 'erp5_dms',
'erp5_knowledge_pad', 'erp5_rss_style', 'erp5_knowledge_pad', 'erp5_rss_style',
'erp5_discussion', ) 'erp5_discussion', )
def login(self): def login(self):
...@@ -71,22 +71,22 @@ class TestERP5Discussion(ERP5TypeTestCase): ...@@ -71,22 +71,22 @@ class TestERP5Discussion(ERP5TypeTestCase):
transaction.commit() transaction.commit()
self.tic() self.tic()
def stepCreateThread(self): def stepCreateThread(self):
module = self.portal.getDefaultModule("Discussion Thread") module = self.portal.getDefaultModule("Discussion Thread")
return module.newContent(portal_type="Discussion Thread") return module.newContent(portal_type="Discussion Thread")
def stepCreatePost(self,thread): def stepCreatePost(self,thread):
return thread.newContent(portal_type="Discussion Post") return thread.newContent(portal_type="Discussion Post")
def test_01_createDiscussionThread(self): def test_01_createDiscussionThread(self):
"""Create a new discussion thread""" """Create a new discussion thread"""
self.stepCreateThread(); self.stepCreateThread();
self.stepTic() self.stepTic()
@expectedFailure #@expectedFailure
def test_02_createDiscussionPost(self): def test_02_createDiscussionPost(self):
"""Create a disucssion post inscite a discussion thread""" """Create a disucssion post inscite a discussion thread"""
......
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