From 8bdcebf824c4ccf28d411bfd7e8228585463f21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 23 Mar 2007 09:08:18 +0000 Subject: [PATCH] wrap long lines to 79 chars git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13585 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFCategory/tests/testCMFCategory.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/product/CMFCategory/tests/testCMFCategory.py b/product/CMFCategory/tests/testCMFCategory.py index c39cf6536d..27970d6c38 100644 --- a/product/CMFCategory/tests/testCMFCategory.py +++ b/product/CMFCategory/tests/testCMFCategory.py @@ -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() -- 2.30.9