Commit 8bdcebf8 authored by Jérome Perrin's avatar Jérome Perrin

wrap long lines to 79 chars



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13585 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 14c6200a
......@@ -627,10 +627,13 @@ class TestCMFCategory(ERP5TypeTestCase):
#test _getDefaultRelatedProperty Accessor
person = self.getPortal().person_module.newContent(id='person_test')
org = self.getPortal().organisation_module.newContent(id='organisation_test',destination='person_module/person_test')
org = self.getPortal().organisation_module.newContent(
id='organisation_test',
destination='person_module/person_test')
get_transaction().commit()
self.tic()
self.assertEquals(person.getDefaultDestinationRelated(),'organisation_module/organisation_test' )
self.assertEquals(person.getDefaultDestinationRelated(),
'organisation_module/organisation_test' )
def test_17_CategoriesAndDomainSelection(self, quiet=quiet,
run=run_all_test):
......@@ -796,7 +799,8 @@ class TestCMFCategory(ERP5TypeTestCase):
p1.setCareerSubordination(o1)
except Exception, e:
self.failUnless(isinstance(e, TypeError))
self.assertEqual(e.args[0], 'Category must be of string, tuple of string or list of string type.')
self.assertEqual(e.args[0], 'Category must be of string, tuple of '
'string or list of string type.')
if __name__ == '__main__':
framework()
......
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