Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
    C:\pwb\GIT\core>py -3.13 -m pwb -site:wpbeta:zh site_generators_tests -v 
TestSiteGenerators.test_allpages
    tests: max_retries reduced from 15 to 3
    test_allpages (__main__.TestSiteGenerators.test_allpages)
    Test the site.allpages() method. ... ERROR
    
    ======================================================================
    ERROR: test_allpages (__main__.TestSiteGenerators.test_allpages)
    Test the site.allpages() method.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "C:\pwb\GIT\core\tests\site_generators_tests.py", line 279, in 
test_allpages
        self.assertEqual(page.namespace(), 0)
                         ~~~~~~~~~~~~~~^^
      File "C:\pwb\GIT\core\pywikibot\page\_basepage.py", line 165, in namespace
        return self._link.namespace
               ^^^^^^^^^^^^^^^^^^^^
      File "C:\pwb\GIT\core\pywikibot\page\_links.py", line 503, in namespace
        self.parse()
        ~~~~~~~~~~^^
      File "C:\pwb\GIT\core\pywikibot\page\_links.py", line 387, in parse
        raise InvalidTitleError(
            f"'{self._text}' has no title.")
    pywikibot.exceptions.InvalidTitleError: 'MOS:' has no title.
    
    ----------------------------------------------------------------------
    Ran 1 test in 6.548s

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

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

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, Hannolans, 
mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to