FAIL: Test running unusedfiles -simulate.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/jayvdb/pywikibot-core/tests/script_tests.py", line 293, in testScript
self.assertIsNone(result['stdout'])
nose.proxy.AssertionError: "Working on 'ملف:666839.png'\n" is not None
-------------------- >> begin captured stdout << ---------------------
killed auto-run script stderr within 5 seconds: 'Retrieving 1 pages from wiktionary:ar.\n@@ -1 +1,3 @@\n- For local use at [[Mediawiki:Vector.css]] ***\n+ For local use at [[Mediawiki:Vector.css]] ***\n+ ***\n+ {{immagine orfana}} ***\n ***\nComment: صور للاستبعاد\nDo you want to accept these changes? ([y]es, [N]o, [a]ll, [q]uit): '
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
pywiki: VERBOSE: START /home/travis/build/jayvdb/pywikibot-core/tests/script_tests.py:TestScript.test_unusedfiles_simulate
pywiki: VERBOSE: END /home/travis/build/jayvdb/pywikibot-core/tests/script_tests.py:TestScript.test_unusedfiles_simulate NOT OK: FAILURE
--------------------- >> end captured logging << ---------------------Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| [FIX] script tests: Expect stdout text | pywikibot/core | master | +16 -7 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | None | T52344 Set up unit test running for pywikibot/core | |||
| Resolved | jayvdb | T71068 split test suite into tests which depend on a server, and those that do not | |||
| Invalid | None | T72936 Important tasks to be solved (tracking) | |||
| Resolved | Xqt | T193968 Missing unittests for scripts (tracking) | |||
| Resolved | Xqt | T71069 Scripts which are not properly tested by script_tests (tracking) | |||
| Resolved | None | T95384 errors in script tests | |||
| Resolved | XZise | T96615 ar.wikt unusedfiles -simulate fails |
Event Timeline
Comment Actions
It is marked as an autorun script, but these fail on the main builds because nosetests doesnt honour the PYWIKIBOT2_TEST_AUTORUN flag
Comment Actions
Change 205458 had a related patch set uploaded (by XZise):
[FIX] script tests: Expect stdout text