AbdealiJK added a comment.

  I don't think the problem is the `__test__`. According to the code in 
script_tests `unrunnable_script_list` has two files that set `__test__` - 
version and script_wui.
  
  Without `dct[test_name] = unittest.expectedFailure(dct[test_name])`, 
script_wui sis kipped because of xfail:
  
    $ python -m pytest -vvv -k "TestScriptHelp and test_script_wui or 
TestScriptHelp and test_version"
    
    # REMOVED CONTENT #
    collected 2146 items 
    
    tests/script_tests.py::TestScriptHelp::test_script_wui <- 
../../../../../usr/lib/python2.7/unittest/case.py xfail
    tests/script_tests.py::TestScriptHelp::test_version FAILED

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

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

To: jayvdb, AbdealiJK
Cc: Aklapper, Zppix, pywikibot-bugs-list, AbdealiJK, jayvdb, Mdupont



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

Reply via email to