Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
=================================== FAILURES
===================================
________________ TestBacklinks.test_backlinks_redirects_length
_________________
self = <tests.site_tests.TestBacklinks
testMethod=test_backlinks_redirects_length>
def test_backlinks_redirects_length(self):
"""Test backlinks redirects length."""
> self.assertLength(self.backlinks, 1)
tests/site_tests.py:2702:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _
self = <tests.site_tests.TestBacklinks
testMethod=test_backlinks_redirects_length>
seq = [], other = 1, msg = 'len([]) != 1'
def assertLength(self, seq, other, msg=None):
"""Verify that a sequence expr has the length of other."""
# the other parameter may be given as a sequence too
first_len = len(seq)
try:
second_len = len(other)
except TypeError:
second_len = other
if first_len != second_len:
msg = self._formatMessage(
msg, 'len(%s) != %s' % (safe_repr(seq), second_len))
> raise self.failureException(msg)
E AssertionError: len([]) != 1
tests/aspects.py:127: AssertionError
The reason is that `File:Băieţi de Cartier - La Familia cover.jpg` was
deleted on en-wiki
TASK DETAIL
https://phabricator.wikimedia.org/T219752
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs