From 66aa92b9413dcf9be339702caa8bb2d58f57e274 Mon Sep 17 00:00:00 2001 From: Thibaut Deheunynck <thibaut@nexedi.com> Date: Thu, 12 Jun 2008 09:30:53 +0000 Subject: [PATCH] respect 80 characters on one row git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21521 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/tests/testScribusUtils.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/product/ERP5Form/tests/testScribusUtils.py b/product/ERP5Form/tests/testScribusUtils.py index c72322a169..8b336fade5 100644 --- a/product/ERP5Form/tests/testScribusUtils.py +++ b/product/ERP5Form/tests/testScribusUtils.py @@ -302,19 +302,19 @@ class TestScribusUtils(ERP5TypeTestCase): object_title="Authorisation", module_id="authorisation_module", module_title="Authorisation Module Title", - import_pdf_file=self.makeFileUpload('Authorisation.pdf'), - import_scribus_file=self.makeFileUpload('Authorisation.sla'),) - + import_pdf_file=self.makeFileUpload('Authorisation.pdf'), + import_scribus_file=self.makeFileUpload('Authorisation.sla'),) + portal = self.getPortal() + portal_types = self.portal.portal_types self.assertNotEqual(self.portal._getOb('authorisation_module', None), None) self.assertNotEqual( self.portal.portal_skins._getOb("erp5_authorisation", None), None) self.assertEquals("Authorisation Module Title", self.portal.authorisation_module.getTitle()) - self.assertNotEqual(self.portal.portal_types.getTypeInfo("Authorisation Module"), - None) - self.assertNotEqual(self.portal.portal_types.getTypeInfo("Authorisation"), None) + module_portal_type = portal_types.getTypeInfo("Authorisation Module") + self.assertNotEqual(module_portal_type, None) + self.assertNotEqual(portal_types.getTypeInfo("Authorisation"), None) # Create a - portal = self.getPortal() # add property sheet Task in portal type Authorisation self.portal.portal_types.Authorisation.setPropertySheetList('Task') authorisation_module = self.portal.authorisation_module -- 2.30.9