Xqt created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
removing unittest.expectedFailure it fails as expected and should be fixed:
C:\pwb\GIT\core>pwb.py tests/cosmetic_changes_tests -v
TestLiveCosmeticChanges.test_cleanUpLinks_pipes_fail
tests: max_retries reduced from 25 to 1
test_cleanUpLinks_pipes_fail (__main__.TestLiveCosmeticChanges)
Test cleanUpLinks method. ... FAIL
======================================================================
FAIL: test_cleanUpLinks_pipes_fail (__main__.TestLiveCosmeticChanges)
Test cleanUpLinks method.
----------------------------------------------------------------------
Traceback (most recent call last):
File ".\tests\cosmetic_changes_tests.py", line 261, in
test_cleanUpLinks_pipes
_fail
self.cct.cleanUpLinks('[[title|Title]]'))
AssertionError: u'[[Title]]' != u'[[Title|Title]]'
- [[Title]]
+ [[Title|Title]]
? ++++++
----------------------------------------------------------------------
Ran 1 test in 1.620s
FAILED (failures=1)
TASK DETAIL
https://phabricator.wikimedia.org/T130917
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs