Magul created this task.
Magul added projects: Pywikibot-core, Pywikibot-tests.

TASK DESCRIPTION

For example:

_____________________ LiveBotTestCase.test_ExistingPageBot _____________________
self = <tests.bot_tests.LiveBotTestCase testMethod=test_ExistingPageBot>
    def test_ExistingPageBot(self):
        """Test ExistingPageBot class."""
        def post_treat(page):
            """Verify the page exists."""
            self.assertTrue(page.exists())
    
        self._treat_site = None
        self.bot = pywikibot.bot.ExistingPageBot(
            generator=self._missing_generator())
        self.bot.treat_page = self._treat_page(post_treat=post_treat)
        self.bot.exit = self._exit()
>       self.bot.run()
tests/bot_tests.py:345: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pywikibot/bot.py:1453: in run
    self.exit()
tests/bot_tests.py:331: in exit
    super(LiveBotTestCase, self)._exit(t, written, exception)()
tests/bot_tests.py:174: in exit
    self.assertRaisesRegex(StopIteration, '^$', next, self._page_iter)
E   AssertionError: "^$" does not match "None"

For more see: https://travis-ci.org/wikimedia/pywikibot-core/jobs/203198988


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

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

To: Magul
Cc: pywikibot-bugs-list, Aklapper, jayvdb, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to