Xqt created this task. Xqt added projects: Pywikibot-tests, Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. |
TASK DESCRIPTION
_______________ TestFactoryGenerator.test_linter_generator_show ________________
self = <tests.pagegenerators_tests.TestFactoryGenerator testMethod=test_linter_generator_show> def test_linter_generator_show(self): """Test generator of pages with lint errors.""" gf = pagegenerators.GeneratorFactory(site=self.site) with self.assertRaises(SystemExit) as cm: > gf.handleArg('-linter:show') tests/pagegenerators_tests.py:1224: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pywikibot/pagegenerators.py:1221: in handleArg handler_result = handler(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _handle_linter(self, value): """Handle `-linter` argument.""" if not self.site.has_extension('Linter'): raise UnknownExtension( > '-linter needs a site with Linter extension.') E pywikibot.exceptions.UnknownExtension: -linter needs a site with Linter extension. pywikibot/pagegenerators.py:715: UnknownExtension
TASK DETAIL
EMAIL PREFERENCES
To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Mpaa, Dalba, Xqt, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
Cc: Aklapper, pywikibot-bugs-list, Mpaa, Dalba, Xqt, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs