There is an issue on Travis CI:
____________ MediaWikiKnownTypesTestCase.test_watchlist_show_flags _____________
self = <tests.paraminfo_tests.MediaWikiKnownTypesTestCase testMethod=test_watchlist_show_flags>
def test_watchlist_show_flags(self):
"""Test watchlist show flags."""
types = ['minor', 'bot', 'anon', 'patrolled']
if MediaWikiVersion(self.site.version()) >= MediaWikiVersion('1.24'):
types.append('unread')
known = types + ['!%s' % item for item in types]
> self._check_param_values(self.site, 'query+watchlist', 'show', known)
tests/paraminfo_tests.py:86:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/paraminfo_tests.py:45: in _check_param_values
self.assertCountEqual(expected, values)
tests/aspects.py:96: in assertCountEqual
return self.assertItemsEqual(*args, **kwargs)
E AssertionError: Element counts were not equal:
E First has 0, Second has 1: u'oresreview'
E First has 0, Second has 1: u'!oresreview'and Appveyor CI:
FAIL: test_watchlist_show_flags (tests.paraminfo_tests.MediaWikiKnownTypesTestCase)
Test watchlist show flags.
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\projects\pywikibot-core\tests\paraminfo_tests.py", line 86, in test_watchlist_show_flags
self._check_param_values(self.site, 'query+watchlist', 'show', known)
File "c:\projects\pywikibot-core\tests\paraminfo_tests.py", line 45, in _check_param_values
self.assertCountEqual(expected, values)
File "c:\projects\pywikibot-core\tests\aspects.py", line 96, in assertCountEqual
return self.assertItemsEqual(*args, **kwargs)
AssertionError: Sequences differ: [u'!a[24 chars], u'!patrolled', u'!unread', u'anon', u'bot', [29 chars]ead'] != [u'!a[24 chars], u'!oresreview', u'!patrolled', u'!unread', u[60 chars]ead']
First differing element 3:
!patrolled
!oresreview
Second sequence contains 2 additional elements.
First extra element 10:
patrolled
[u'!anon',
u'!bot',
u'!minor',
+ u'!oresreview',
u'!patrolled',
u'!unread',
u'anon',
u'bot',
u'minor',
+ u'oresreview',
u'patrolled',
u'unread']
----------------------------------------------------------------------See: