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

    r3152 r3163  
    1 from base import * 
     1from quintagroup.plonegooglesitemaps.tests.base import TestCase, \ 
     2    FunctionalTestCase, IMobileMarker 
     3from Products.PloneTestCase.setup import portal_owner, default_password 
     4from quintagroup.plonegooglesitemaps.tests.XMLParser import parse 
     5import unittest 
     6 
    27from DateTime import DateTime 
    38 
    49from zope.interface import alsoProvides 
    510from zope.component import queryMultiAdapter 
    6 from zope.component import getSiteManager, getGlobalSiteManager 
    7 from archetypes.schemaextender.interfaces import ISchemaExtender 
    811 
    912from Products.CMFPlone.utils import _createObjectByType 
     
    102105 
    103106def test_suite(): 
    104     from unittest import TestSuite, makeSuite 
    105     suite = TestSuite() 
    106     suite.addTest(makeSuite(TestMobileSitemapsXML)) 
    107     suite.addTest(makeSuite(TestMobileSitemaps)) 
     107    suite = unittest.TestSuite() 
     108    suite.addTest(unittest.makeSuite(TestMobileSitemapsXML)) 
     109    suite.addTest(unittest.makeSuite(TestMobileSitemaps)) 
    108110    return suite 
     111 
     112if __name__ == '__main__': 
     113    unittest.main(defaultTest='test_suite') 
     114#    framework() 
Note: See TracChangeset for help on using the changeset viewer.