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

    r3152 r3163  
    33# 
    44 
    5 from base import * 
     5from quintagroup.plonegooglesitemaps.tests.base import FunctionalTestCase 
     6from quintagroup.plonegooglesitemaps.tests.XMLParser import parse 
     7from StringIO import StringIO 
     8from urllib import urlencode 
     9import re 
     10import unittest 
     11 
    612from cgi import FieldStorage 
    7 from tempfile import TemporaryFile, NamedTemporaryFile 
     13from tempfile import NamedTemporaryFile 
    814 
    915from OFS.Image import cookId 
     
    149155 
    150156def test_suite(): 
    151     from unittest import TestSuite, makeSuite 
    152     suite = TestSuite() 
    153     suite.addTest(makeSuite(TestGoogleSitemaps)) 
     157    suite = unittest.TestSuite() 
     158    suite.addTest(unittest.makeSuite(TestGoogleSitemaps)) 
    154159    return suite 
    155160 
Note: See TracChangeset for help on using the changeset viewer.