Ignore:
Timestamp:
Aug 22, 2012 10:22:22 AM (12 years ago)
Author:
potar
Message:

Merged sitemap_date branch into trunk

Location:
quintagroup.plonegooglesitemaps/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/trunk

    • Property svn:mergeinfo
      •  

        old new  
        33/quintagroup.plonegooglesitemaps/branches/migratioin_product:2826-2839 
        44/quintagroup.plonegooglesitemaps/branches/plone4:2549-2553 
         5/quintagroup.plonegooglesitemaps/branches/sitemap_date:3481-3509 
        56/quintagroup.plonegooglesitemaps/branches/test_refactoring:2527-2536 
  • quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/tests/testGoogleSitemaps.py

    r3163 r3510  
    8989                          '/prefs_gsm_verification' 
    9090        verif_config = self.publish(verifyConfigUrl, self.auth).getBody() 
    91         rexp_input_acitve = re.compile('<input\s+name="verification_file"' \ 
     91        rexp_input_acitve = re.compile('<input\s+name="verification_file"' 
    9292                                       '\s+([^>]*)>', re.I | re.S) 
    9393        rexp_button_acitve = re.compile( 
     
    101101 
    102102        self.assert_(input_acitve and not 'disabled' in input_acitve.groups(1)) 
    103         self.assert_(button_acitve and not 'disabled' in \ 
     103        self.assert_(button_acitve and not 'disabled' in 
    104104                     button_acitve.groups(1)) 
    105105        self.assert_(not delete_button) 
     
    143143 
    144144            self.assertEqual(response.getStatus(), 200) 
    145             self.assert_(fname in \ 
    146                  self.gsm_props.getProperty('verification_filenames', []), 
    147                  self.gsm_props.getProperty('verification_filenames', [])) 
     145            self.assert_(fname in 
     146                         self.gsm_props.getProperty('verification_filenames', 
     147                                                    []), 
     148                         self.gsm_props.getProperty('verification_filenames', 
     149                                                    [])) 
    148150            fnames.append(fname) 
    149151 
    150         self.assertEqual(len([1 for vf in fnames \ 
    151             if vf in \ 
    152                 self.gsm_props.getProperty('verification_filenames', [])]), 2, 
    153                 self.gsm_props.getProperty('verification_filenames', [])) 
     152        self.assertEqual(len([1 for vf in fnames 
     153                         if 
     154                         vf 
     155                         in 
     156                         self.gsm_props.getProperty('verification_filenames', 
     157                                                    [])]), 2, 
     158                         self.gsm_props.getProperty('verification_filenames', 
     159                                                    [])) 
    154160 
    155161 
Note: See TracChangeset for help on using the changeset viewer.