Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Seems that months_names was changed on mw side:
>>> import pywikibot
>>> site = pywikibot.Site('wikipedia:uz')
>>> site.months_names
[('yanvar', 'yan'), ('fevral', 'fev'), ('mart', 'mar'), ('aprel', 'apr'),
('may', 'may'), ('iyun', 'iyn'), ('iyul', 'iyl'), ('avgust', 'avg'),
('sentyabr', 'sen'), ('oktyabr', 'okt'), ('noyabr', 'noy'), ('dekabr', 'dek')]
`Oktabr` was changed to lowercased `oktyabr` which has a **y** inside.
08:31:12
======================================================================
08:31:12 FAIL: test_archivebot_uz (tests.archivebot_tests.TestArchiveBot)
(thread='Re: [[Foydalanuvchi
munozarasi:CoderSI#Malfunction_of_your_bot|Malfunction_of_your_bot]]',
content='Foydalanuvchi munozarasi:XZise|munozara]]) 23:13, 24-Oktabr 2014
(UTC)\n\n')
08:31:12 Test archivebot for one site on wikipedia:uz
08:31:12
----------------------------------------------------------------------
08:31:12 Traceback (most recent call last):
08:31:12 File "/src/tests/archivebot_tests.py", line 146, in
test_archivebot
08:31:12 self.assertIsInstance(thread.timestamp, datetime)
08:31:12 AssertionError: None is not an instance of <class
'datetime.datetime'>
08:31:12
08:31:12
======================================================================
08:31:12 FAIL: test_archivebot_uz (tests.archivebot_tests.TestArchiveBot)
(thread='Testing', content='vchi munozarasi:John Vandenberg|munozara]]) 05:38,
24-Oktabr 2014 (UTC)\n')
08:31:12 Test archivebot for one site on wikipedia:uz
08:31:12
----------------------------------------------------------------------
08:31:12 Traceback (most recent call last):
08:31:12 File "/src/tests/archivebot_tests.py", line 146, in
test_archivebot
08:31:12 self.assertIsInstance(thread.timestamp, datetime)
08:31:12 AssertionError: None is not an instance of <class
'datetime.datetime'>
08:31:12
08:31:12
----------------------------------------------------------------------
08:31:12 Ran 3128 tests in 640.377s
TASK DETAIL
https://phabricator.wikimedia.org/T370501
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho,
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx,
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]