Page MenuHomePhabricator

wikibase_tests fails for TestLoadRevisionsCaching.test_page_text
Closed, ResolvedPublicBUG REPORT

Description

=================================== FAILURES ===================================
___________________ TestLoadRevisionsCaching.test_page_text ____________________

self = <tests.wikibase_tests.TestLoadRevisionsCaching testMethod=test_page_text>

    def test_page_text(self):
        """Test site.loadrevisions() with Page.text."""
>       self._test_page_text()

tests/wikibase_tests.py:71: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/basepage.py:100: in _test_page_text
    self.assertEqual(page.get(), loaded_text)
E   AssertionError: {'labels': <pywikibot.page.LanguageDict o[302 chars]588>} != '{"type":"item","id":"Q60","labels":{"en"[260102 chars]]}}}'

This was introduced with rPWBCfdfae7bb446a6

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt triaged this task as High priority.Nov 12 2020, 6:54 AM
Xqt changed the subtype of this task from "Task" to "Bug Report".

Change 640800 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] first check for {{bots}}/{{nobots}} in Page class only

https://gerrit.wikimedia.org/r/640800

Change 640800 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Check for {{bots}}/{{nobots}} in Page.text setter

https://gerrit.wikimedia.org/r/640800

Change 645363 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] Revert "[bugfix] Check for {{bots}}/{{nobots}} in Page.text setter"

https://gerrit.wikimedia.org/r/645363

Change 645363 merged by Xqt:
[pywikibot/core@master] Revert "[bugfix] Check for {{bots}}/{{nobots}} in Page.text setter"

https://gerrit.wikimedia.org/r/645363

Change 645925 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Check for {{bots}}/{{nobots}} in Page.text setter

https://gerrit.wikimedia.org/r/645925

Change 645931 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] cache botMayEdit result

https://gerrit.wikimedia.org/r/645931

Change 645949 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Additional test which assigns a text first without reading from api

https://gerrit.wikimedia.org/r/645949

Change 645949 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Additional test which assigns a text first without reading from api

https://gerrit.wikimedia.org/r/645949

Change 645931 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] cache botMayEdit result

https://gerrit.wikimedia.org/r/645931

Change 645925 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Check for {{bots}}/{{nobots}} in Page.text setter

https://gerrit.wikimedia.org/r/645925