Ignore:
Timestamp:
Apr 19, 2011 9:06:50 AM (9 years ago)
Author:
vmaksymiv
Message:

pep8 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.catalogupdater/trunk/quintagroup/catalogupdater/exportimport/tests/test_catalogupdate.py

    r1981 r3142  
    3939""" % (PLONEFOUR and '<object name="old_plexicon" remove="True"/>' or \ 
    4040                     '<object name="foo_vocabulary" remove="True"/>') 
    41               
    4241 
    4342 
     
    4746    def updateMetadata4All(self, catalog, columns): 
    4847        self._logger.info("%s:%s" % (catalog.id, columns)) 
    49      
     48 
    5049 
    5150class CatalogUpdaterZCMLLayer(test_exportimport.ZCatalogXMLAdapterTests.layer): 
     
    6564 
    6665    def _getTargetClass(self): 
    67         from quintagroup.catalogupdater.exportimport.catalogupdater import CatalogUpdaterXMLAdapter 
     66        from quintagroup.catalogupdater.exportimport.catalogupdater \ 
     67            import CatalogUpdaterXMLAdapter 
    6868        return CatalogUpdaterXMLAdapter 
    6969 
     
    7878    def getLastMessage(self): 
    7979        messages = getattr(self.logger, '_messages', []) 
    80         return messages[-1] or [None,]*3 
     80        return messages[-1] or [None, ] * 3 
    8181 
    8282    def test_body_set_update(self): 
     
    9090 
    9191        message = self.getLastMessage() 
    92         self.assertEqual( message[-1], "foo_catalog:['eggs', 'spam']", 
    93             "Not updated columns in catalog" ) 
     92        self.assertEqual(message[-1], "foo_catalog:['eggs', 'spam']", 
     93            "Not updated columns in catalog") 
     94 
    9495 
    9596def test_suite(): 
Note: See TracChangeset for help on using the changeset viewer.