Ignore:
Timestamp:
Apr 20, 2011 4:02:03 PM (9 years ago)
Author:
zidane
Message:

fixes pyflakes and pylint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/tests/testBlackoutList.py

    r3152 r3163  
    22# Tests related to general Sitemap type. 
    33# 
    4 from base import * 
     4from quintagroup.plonegooglesitemaps.tests.base import TestCase 
     5import unittest 
     6 
    57from types import ListType, TupleType 
    6 from zope import component 
    78from zope.component import queryMultiAdapter 
    89 
     
    129130 
    130131    # def testGetCorrectFilterName(self): 
     132    #     from zope import component 
    131133    #     call_names = [] 
    132134    #     origQMA = component._api.queryMultiAdapter 
     
    143145 
    144146def test_suite(): 
    145     from unittest import TestSuite, makeSuite 
    146     suite = TestSuite() 
    147     suite.addTest(makeSuite(TestBOFilters)) 
    148     suite.addTest(makeSuite(TestDefaultFilters)) 
    149     suite.addTest(makeSuite(TestBlacklistFormProcessing)) 
     147    suite = unittest.TestSuite() 
     148    suite.addTest(unittest.makeSuite(TestBOFilters)) 
     149    suite.addTest(unittest.makeSuite(TestDefaultFilters)) 
     150    suite.addTest(unittest.makeSuite(TestBlacklistFormProcessing)) 
    150151    return suite 
    151152 
Note: See TracChangeset for help on using the changeset viewer.