jayvdb added a comment.
`green` doesnt yet include method names in the normal output, however on
failure it does include them.
...
Skipped tests.script_tests.TestScriptSimulate.test__login - Skipping
execution of auto-run scripts (set PYWIKIBOT2_TEST_AUTORUN=1 to enable) "login"
Captured stdout for tests.script_tests.TestScriptSimulate.test_editarticle
killed
Captured stdout for
tests.script_tests.TestScriptSimulate.test_freebasemappingupload
killed
Captured stdout for
tests.script_tests.TestScriptSimulate.test_harvest_template
killed
Captured stdout for tests.script_tests.TestScriptSimulate.test_imageuncat
killed
Captured stdout for tests.script_tests.TestScriptSimulate.test_interwiki
10.522s
Captured stdout for tests.script_tests.TestScriptSimulate.test_panoramiopicker
10.478s
Failure in tests.script_tests.TestScriptHelp.test_panoramiopicker
File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
testMethod()
File "tests/script_tests.py", line 291, in testScript
stderr_other)
File "/usr/lib64/python2.7/unittest/case.py", line 843, in assertIn
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/lib64/python2.7/unittest/case.py", line 450, in fail
raise self.failureException(msg)
AssertionError: u'Use -help for further information.' not found in
[u'Traceback (most recent call last):', u' File "<string>", line 1, in
<module>', u' File "pwb.py", line 242, in main', u'
run_python_file(filename, [filename] + args, argvu, file_package)', u' File
"pwb.py", line 120, in run_python_file', u' main_mod.__dict__)', u' File
"./scripts/panoramiopicker.py", line 65, in <module>', u"
site=pywikibot.Site(u'commons', u'commons')):", u"TypeError: 'NoneType' object
is not callable", u'CRITICAL: Closing network session.', u'']
Ran 125 tests in 464.448s
FAILED (expected_failures=1, failures=1, passes=122, skips=1)
TASK DETAIL
https://phabricator.wikimedia.org/T115313
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: zhuyifei1999, Aklapper, pywikibot-bugs-list, XZise, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs