Page MenuHomePhabricator

archivebot_tests fails if there is a timestamp missing
Open, MediumPublic

Description

______________________ TestArchiveBot.test_archivebot_pl _______________________

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

    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:637: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/archivebot_tests.py:174: in test_archivebot
    self.assertIsInstance(thread.timestamp, datetime)
E   AssertionError: None is not an instance of <class 'datetime.datetime'>

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt triaged this task as Medium priority.Feb 3 2021, 9:41 AM