Xqt created this task.
Xqt added projects: Pywikibot-core, Pywikibot-tests, Pywikibot-archivebot.py.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

After https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/441627/ has been merged, archivebot_tests tests are failing:

=================================== FAILURES ===================================
______________________ TestArchiveBot.test_archivebot_id _______________________

self = <tests.archivebot_tests.TestArchiveBot testMethod=test_archivebot_id>

    def wrapped_method(self):
        sitedata = self.sites[key]
        self.site_key = key
        self.family = sitedata['family']
        self.code = sitedata['code']
        self.site = sitedata['site']
>       func(self, key)

tests/aspects.py:783: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/archivebot_tests.py:160: in test_archivebot
    self.assertIsInstance(thread.timestamp, datetime)
E   AssertionError: None is not an instance of <type 'datetime.datetime'>
------------------------------ Captured log call -------------------------------
logging.py                 109 VERBOSE  Found 1 wikipedia:id processes running, including this one.
logging.py                 109 INFO     code id:
______________________ TestArchiveBot.test_archivebot_scn ______________________

self = <tests.archivebot_tests.TestArchiveBot testMethod=test_archivebot_scn>

    def wrapped_method(self):
        sitedata = self.sites[key]
        self.site_key = key
        self.family = sitedata['family']
        self.code = sitedata['code']
        self.site = sitedata['site']
>       func(self, key)

tests/aspects.py:783: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/archivebot_tests.py:160: in test_archivebot
    self.assertIsInstance(thread.timestamp, datetime)
E   AssertionError: None is not an instance of <type 'datetime.datetime'>
------------------------------ Captured log call -------------------------------
logging.py                 109 VERBOSE  Found 1 wikipedia:scn processes running, including this one.
logging.py                 109 INFO     code scn: Let's kiss hands and welcome the sicilian wikipedia.<br>
Sorry but I just wrote that I thought you were a bot and was explaining to the users in sicilian language what seems like this bot does which looks like adding links to other terms and categories in different languages.<br>
If you are a human or a
____________________ TestArchiveBot.test_archivebot_zh_yue _____________________

self = <tests.archivebot_tests.TestArchiveBot testMethod=test_archivebot_zh_yue>

    def wrapped_method(self):
        sitedata = self.sites[key]
        self.site_key = key
        self.family = sitedata['family']
        self.code = sitedata['code']
        self.site = sitedata['site']
>       func(self, key)

tests/aspects.py:783: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/archivebot_tests.py:160: in test_archivebot
    self.assertIsInstance(thread.timestamp, datetime)
E   AssertionError: None is not an instance of <type 'datetime.datetime'>
------------------------------

See https://api.travis-ci.org/v3/job/403487972/log.txt for example


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

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

To: Xqt
Cc: Aklapper, Dvorapa, Xqt, pywikibot-bugs-list, Magul, 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

Reply via email to