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/testSecurity.py

    r3152 r3163  
    22# Tests related to general Sitemap type. 
    33# 
    4 from base import * 
     4from quintagroup.plonegooglesitemaps.tests.base \ 
     5    import FunctionalTestCase, IMobileMarker 
     6from quintagroup.plonegooglesitemaps.tests.XMLParser import parse 
     7 
     8import unittest 
    59from zope.interface import alsoProvides 
    6 from Products.Archetypes import atapi 
    710from Products.CMFPlone.utils import _createObjectByType 
    811 
     
    124127 
    125128def test_suite(): 
    126     from unittest import TestSuite, makeSuite 
    127     suite = TestSuite() 
    128     suite.addTest(makeSuite(TestSecurityConfigletManager)) 
    129     suite.addTest(makeSuite(TestSecurityConfigletNotManager)) 
    130     suite.addTest(makeSuite(TestSecuritySiteMaps)) 
     129    suite = unittest.TestSuite() 
     130    suite.addTest(unittest.makeSuite(TestSecurityConfigletManager)) 
     131    suite.addTest(unittest.makeSuite(TestSecurityConfigletNotManager)) 
     132    suite.addTest(unittest.makeSuite(TestSecuritySiteMaps)) 
    131133    return suite 
    132134 
Note: See TracChangeset for help on using the changeset viewer.