| Dalba added a comment. |
In T214009#4895008, @gerritbot wrote:Change 485485 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [tests] Skip test_pages_with_property_generator test for wikia
To be clear, this patch is trying to resolve the following traceback:
___________ TestFactoryGenerator.test_pages_with_property_generator ____________
self = <tests.pagegenerators_tests.TestFactoryGenerator testMethod=test_pages_with_property_generator> def test_pages_with_property_generator(self): """Test the pages_with_property_generator method.""" mysite = self.get_site() for item in ('defaultsort', 'disambiguation', 'displaytitle', 'hiddencat', 'invalid_property'): > if item in mysite.get_property_names(): tests/pagegenerators_tests.py:1140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = APISite("wikia", "wikia"), args = (), kwargs = {} def callee(self, *args, **kwargs): if MediaWikiVersion(self.version()) < MediaWikiVersion(version): raise NotImplementedError( 'Method or function "%s"\n' "isn't implemented in MediaWiki version < %s" > % (fn.__name__, version)) E NotImplementedError: Method or function "get_property_names" E isn't implemented in MediaWiki version < 1.21 pywikibot/site.py:1369: NotImplementedError
TASK DETAIL
EMAIL PREFERENCES
To: Xqt, Dalba
Cc: gerritbot, Aklapper, Dalba, Xqt, pywikibot-bugs-list, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Mahveotm, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
Cc: gerritbot, Aklapper, Dalba, Xqt, pywikibot-bugs-list, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Mahveotm, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
