Dalba created this task.
Dalba added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
________________ TestSiteGenerators.test_protectedpages_create
_________________
self = <tests.site_tests.TestSiteGenerators
testMethod=test_protectedpages_create>
def test_protectedpages_create(self):
"""Test that protectedpages returns protected page titles."""
if self.site.mw_version < '1.15':
raise unittest.SkipTest('requires v1.15+')
pages = list(self.get_site().protectedpages(type='create',
total=10))
for page in pages:
self.assertFalse(
page.exists(),
'\n{page} does unexpectedly exist on site {page.site}'
> .format(page=page))
E AssertionError:
E [[en:Audrey Geisel]] does unexpectedly exist on site
wikipedia:en
tests/site_tests.py:996: AssertionError
TASK DETAIL
https://phabricator.wikimedia.org/T216875
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Dalba
Cc: Aklapper, pywikibot-bugs-list, Dalba, Wenyi, 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