There is an issue on Travis CI:
________________ MediaWikiKnownTypesTestCase.test_content_model ________________ self = <tests.paraminfo_tests.MediaWikiKnownTypesTestCase testMethod=test_content_model> def test_content_model(self): """Test content model.""" base = [ 'wikitext', 'javascript', 'css', 'text', ] wmf = [ 'MassMessageListContent', 'SecurePoll', 'flow-board', 'Scribunto', 'JsonSchema', ] if MediaWikiVersion(self.site.version()) >= MediaWikiVersion('1.24'): base.append('json') self._check_param_subset(self.site, 'edit', 'contentmodel', base) self._check_param_subset(self.site, 'parse', 'contentmodel', base) if isinstance(self.site.family, WikimediaFamily): > self._check_param_subset(self.site, 'parse', 'contentmodel', wmf) tests/paraminfo_tests.py:152: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/paraminfo_tests.py:50: in _check_param_subset self.assertLessEqual(set(expected), set(values)) E AssertionError: set([u'Scribunto', u'JsonSchema', u'SecurePoll', u'MassMessageListContent', u'flow-board']) not less than or equal to set([u'wikitext', u'SecurePoll', u'text', u'Scribunto', u'javascript', u'json', u'JsonSchema', u'css', u'MassMessageListContent', u'GadgetDefinition'])
and Appveyor CI:
FAIL: test_content_model (tests.paraminfo_tests.MediaWikiKnownTypesTestCase) Test content model. ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\projects\pywikibot-core\tests\paraminfo_tests.py", line 152, in test_content_model self._check_param_subset(self.site, 'parse', 'contentmodel', wmf) File "c:\projects\pywikibot-core\tests\paraminfo_tests.py", line 50, in _check_param_subset self.assertLessEqual(set(expected), set(values)) AssertionError: set([u'Scribunto', u'JsonSchema', u'SecurePoll', u'MassMessageListContent', u'flow-board']) not less than or equal to set([u'wikitext', u'SecurePoll', u'text', u'Scribunto', u'javascript', u'json', u'JsonSchema', u'css', u'MassMessageListContent', u'GadgetDefinition'])
See: