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

fixes pyflakes and pylint

File:
1 edited

Legend:

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

    r3152 r3163  
    1 from base import * 
     1from quintagroup.plonegooglesitemaps.tests.base import FunctionalTestCase 
     2import sys 
     3from StringIO import StringIO 
     4import unittest 
     5 
    26from Products.CMFPlone.utils import _createObjectByType 
    37 
     
    7276        sys.stdout = myout 
    7377        try: 
    74             response = self.publish("%s?%s" % (formUrl, qs), basic=self.auth) 
     78            self.publish("%s?%s" % (formUrl, qs), basic=self.auth) 
    7579            myout.seek(0) 
    7680            data = myout.read() 
     
    8791 
    8892def test_suite(): 
    89     from unittest import TestSuite, makeSuite 
    90     suite = TestSuite() 
    91     suite.addTest(makeSuite(TestPinging)) 
     93    suite = unittest.TestSuite() 
     94    suite.addTest(unittest.makeSuite(TestPinging)) 
    9295    return suite 
    9396 
Note: See TracChangeset for help on using the changeset viewer.