Dalba created this task.
Dalba added projects: Pywikibot-core, Pywikibot-tests.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

https://travis-ci.org/wikimedia/pywikibot/jobs/398125190#L3669:

=================================== FAILURES ===================================
___________ TestUnconnectedPageGenerator.test_unconnected_with_repo ____________
self = <tests.pagegenerators_tests.TestUnconnectedPageGenerator testMethod=test_unconnected_with_repo>
    def test_unconnected_with_repo(self):
        """Test UnconnectedPageGenerator."""
        if not self.site.data_repository():
            raise unittest.SkipTest('Site is not using a Wikibase repository')
        with suppress_warnings(
                'pywikibot.pagegenerators.UnconnectedPageGenerator is '
                'deprecated', DeprecationWarning):
>           upgen = pagegenerators.UnconnectedPageGenerator(self.site, 3)
tests/pagegenerators_tests.py:1501: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pywikibot/tools/__init__.py:1324: in wrapper
    return obj(*args, **kwargs)
pywikibot/tools/__init__.py:1446: in wrapper
    return obj(*__args, **__kw)
pywikibot/pagegenerators.py:1452: in UnconnectedPageGenerator
    return site.unconnected_pages(total=total)
pywikibot/tools/__init__.py:1446: in wrapper
    return obj(*__args, **__kw)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = APISite("en", "wikipedia"), args = (), kwargs = {'total': 3}
    def callee(self, *args, **kwargs):
        if not self.has_extension(extension):
            raise UnknownExtension(
                'Method "%s" is not implemented without the extension %s'
>               % (fn.__name__, extension))
E           UnknownExtension: Method "unconnected_pages" is not implemented without the extension Wikibase Client
pywikibot/site.py:1363: UnknownExtension
_____________________ TestSiteGenerators.test_unconnected ______________________
self = <tests.site_tests.TestSiteGenerators testMethod=test_unconnected>
    def test_unconnected(self):
        """Test site.unconnected_pages method."""
        if not self.site.data_repository():
            raise unittest.SkipTest('Site is not using a Wikibase repository')
>       upgen = self.site.unconnected_pages(total=3)
tests/site_tests.py:1095: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pywikibot/tools/__init__.py:1446: in wrapper
    return obj(*__args, **__kw)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = APISite("en", "wikipedia"), args = (), kwargs = {'total': 3}
    def callee(self, *args, **kwargs):
        if not self.has_extension(extension):
            raise UnknownExtension(
                'Method "%s" is not implemented without the extension %s'
>               % (fn.__name__, extension))
E           UnknownExtension: Method "unconnected_pages" is not implemented without the extension Wikibase Client
pywikibot/site.py:1363: UnknownExtension

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

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

To: Dalba
Cc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, 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