Xqt created this task.
Herald added subscribers: pywikibot-bugs-list, TerraCodes, Aklapper.

TASK DESCRIPTION
    C:\pwb\GIT\core>pwb.py tests/deletionbot_tests -v TestDeletionBot.test_dry
    tests: max_retries reduced from 25 to 1
    test_dry (__main__.TestDeletionBot)
    Test dry run of bot. ... WARNING: C:\pwb\GIT\core\pywikibot\bot.py:829: 
UserWarning: Site objects have been created before arguments were handled
    
    
    >>> Main Page <<<
    
    0 pages read
    0 pages written
    Execution time: 0 seconds
    Script terminated by exception:
    
    ERROR: TypeError: delete_dummy() got an unexpected keyword argument 'quit'
    ERROR
    
    ======================================================================
    ERROR: test_dry (__main__.TestDeletionBot)
    Test dry run of bot.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File ".\tests\deletionbot_tests.py", line 109, in test_dry
        delete.main('-page:Main Page', '-always', '-summary:foo')
      File "C:\pwb\GIT\core\scripts\delete.py", line 296, in main
        bot.run()
      File "C:\pwb\GIT\core\pywikibot\bot.py", line 1596, in run
        super(MultipleSitesBot, self).run()
      File "C:\pwb\GIT\core\pywikibot\bot.py", line 1410, in run
        self.treat(page)
      File "C:\pwb\GIT\core\pywikibot\bot.py", line 1624, in treat
        self.treat_page()
      File "C:\pwb\GIT\core\scripts\delete.py", line 214, in treat_page
        quit=True)
    TypeError: delete_dummy() got an unexpected keyword argument 'quit'
    
    ----------------------------------------------------------------------
    Ran 1 test in 1.870s
    
    FAILED (errors=1)
    
    C:\pwb\GIT\core>

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

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

To: Xqt
Cc: Aklapper, TerraCodes, pywikibot-bugs-list, Mpaa, Xqt, Mdupont, jayvdb



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to