Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Steps to replicate the issue** :
`pwb -lang:en script_tests -v TestScriptGenerator.test_newitem`
**What happens?**:
======================================================================
FAIL: test_newitem (tests.script_tests.TestScriptGenerator)
Test running newitem -simulate -page:Foobar -always -site:wikipedia:en.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\projects\pywikibot\tests\script_tests.py", line 240, in
test_script
self.assertIn(error, err_result)
AssertionError: 'Script terminated successfully' not found in 'WARNING: You
are logged in as Pywikibot-test, an account that is not in the\r\nautoconfirmed
group on wikipedia:en. Script will not touch pages\r\nlinked to newly created
items to avoid triggering edit rates or\r\ncaptchas. Use -touch param to force
this.\r\nWARNING: NewItemRobot.__init__ set the Bot.site property; this is only
needed when the Bot accesses many sites.\r\nPage age is set to 21 days so only
pages created\r\nbefore 2023-03-24T05:52:30Z will be considered.\r\n\r\nLast
edit is set to 7 days so only pages last edited\r\nbefore 2023-04-07T05:52:30Z
will be considered.\r\n\r\nRetrieving 1 pages from wikipedia:en.\r\n'
----------------------------------------------------------------------
The reason is a low timout of 5 seconds for this script.
TASK DETAIL
https://phabricator.wikimedia.org/T334734
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, PotsdamLamb, Jyoo1011, JohnsonLee01,
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Framawiki,
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]