Dvorapa created this task.
Dvorapa added a project: Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.

TASK DESCRIPTION
  Environments: en:wsbeta and en:musicbrainz on Python 3.5
  https://travis-ci.org/wikimedia/pywikibot/jobs/640945627#L1238
  
    ______________ TestGenerateFamilyFiles.test_attributes_after_run 
_______________
    
    self = <tests.generate_family_files_tests.TestGenerateFamilyFiles 
testMethod=test_attributes_after_run>
    
        def test_attributes_after_run(self):
    
            """Test FamilyFileGenerator attributes after run()."""
    
            gen = self.generator_instance
    
            gen.run()
    
        
    
            with self.subTest(test='Test whether default is loaded'):
    
                self.assertIn(self.site.lang, gen.wikis)
    
        
    
            with self.subTest(test='Test element counts'):
    
                if self.site.lang not in gen.prefixes:
    
                    gen.prefixes += [self.site.lang]
    
    >           self.assertCountEqual(gen.prefixes, gen.wikis)
    
    E           AssertionError: Element counts were not equal:
    
    E           First has 1, Second has 0:  'es'
    
    E           First has 1, Second has 0:  'ja'
    
    E           First has 1, Second has 0:  'sv'
    
    E           First has 1, Second has 0:  'sr'
    
    E           First has 1, Second has 0:  'zh'
    
    E           First has 1, Second has 0:  'eo'
    
    E           First has 1, Second has 0:  'uk'
    
    E           First has 1, Second has 0:  'nl'
    
    E           First has 1, Second has 0:  'ar'
    
    tests/generate_family_files_tests.py:74: AssertionError
    
    ------------------------------ Captured log call 
-------------------------------
    
    logging.py                 109 VERBOSE  
https://en.wikisource.beta.wmflabs.org redirected to 
https://en.wikisource.beta.wmflabs.org/wiki/Main_Page
    
    logging.py                 109 VERBOSE  wgEnableApi is not enabled in HTML 
of https://en.wikisource.beta.wmflabs.org/wiki/Main_Page
    
    logging.py                 109 VERBOSE  MW pre-1.17 detection failed: 
AttributeError("'NoneType' object has no attribute 'groups'",)
    
    logging.py                 109 WARNING  Http response status 404
    
    logging.py                 109 VERBOSE  wgEnableApi is not enabled in HTML 
of https://es.wikisource.beta.wmflabs.org/wiki/
    
    logging.py                 109 VERBOSE  MW pre-1.17 detection failed: 
AttributeError("'NoneType' object has no attribute 'groups'",)
    
    logging.py                 109 WARNING  Http response status 404
    
    logging.py                 109 VERBOSE  wgEnableApi is not enabled in HTML 
of https://ja.wikisource.beta.wmflabs.org/wiki/
    
    logging.py                 109 VERBOSE  MW pre-1.17 detection failed: 
AttributeError("'NoneType' object has no attribute 'groups'",)
    
    logging.py                 109 WARNING  Http response status 404
    
    logging.py                 109 VERBOSE  wgEnableApi is not enabled in HTML 
of https://sv.wikisource.beta.wmflabs.org/wiki/
    
    logging.py                 109 VERBOSE  MW pre-1.17 detection failed: 
AttributeError("'NoneType' object has no attribute 'groups'",)
    
    logging.py                 109 WARNING  Http response status 404
    
    logging.py                 109 VERBOSE  wgEnableApi is not enabled in HTML 
of https://sr.wikisource.beta.wmflabs.org/wiki/
    
    logging.py                 109 VERBOSE  MW pre-1.17 detection failed: 
AttributeError("'NoneType' object has no attribute 'groups'",)
    
    logging.py                 109 WARNING  Http response status 404
    
    logging.py                 109 VERBOSE  wgEnableApi is not enabled in HTML 
of https://zh.wikisource.beta.wmflabs.org/wiki/
    
    logging.py                 109 VERBOSE  MW pre-1.17 detection failed: 
AttributeError("'NoneType' object has no attribute 'groups'",)
    
    logging.py                 109 WARNING  Http response status 404
    
    logging.py                 109 VERBOSE  wgEnableApi is not enabled in HTML 
of https://eo.wikisource.beta.wmflabs.org/wiki/
    
    logging.py                 109 VERBOSE  MW pre-1.17 detection failed: 
AttributeError("'NoneType' object has no attribute 'groups'",)
    
    logging.py                 109 WARNING  Http response status 404
    
    logging.py                 109 VERBOSE  wgEnableApi is not enabled in HTML 
of https://uk.wikisource.beta.wmflabs.org/wiki/
    
    logging.py                 109 VERBOSE  MW pre-1.17 detection failed: 
AttributeError("'NoneType' object has no attribute 'groups'",)
    
    logging.py                 109 WARNING  Http response status 404
    
    logging.py                 109 VERBOSE  wgEnableApi is not enabled in HTML 
of https://nl.wikisource.beta.wmflabs.org/wiki/
    
    logging.py                 109 VERBOSE  MW pre-1.17 detection failed: 
AttributeError("'NoneType' object has no attribute 'groups'",)
    
    logging.py                 109 WARNING  Http response status 404
    
    logging.py                 109 VERBOSE  wgEnableApi is not enabled in HTML 
of https://ar.wikisource.beta.wmflabs.org/wiki/
    
    logging.py                 109 VERBOSE  MW pre-1.17 detection failed: 
AttributeError("'NoneType' object has no attribute 'groups'",)

TASK DETAIL
  https://phabricator.wikimedia.org/T243669

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Aklapper, pywikibot-bugs-list, Dvorapa, Zkhalido, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to