jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/618099 )
Change subject: [bugfix] Update '1.36.0-wmf.2' content format ......................................................................
[bugfix] Update '1.36.0-wmf.2' content format
Bug: T259100 Change-Id: Ic94f9726964971bf81fe885e94465c990b128d92 --- M tests/paraminfo_tests.py 1 file changed, 9 insertions(+), 6 deletions(-)
Approvals: Matěj Suchánek: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/paraminfo_tests.py b/tests/paraminfo_tests.py index 6f40777..d76d346 100644 --- a/tests/paraminfo_tests.py +++ b/tests/paraminfo_tests.py @@ -128,6 +128,14 @@ ] if self.site.mw_version >= '1.24': base.append('application/json') + if self.site.mw_version >= '1.36.0-wmf.2': + base.extend([ + 'application/octet-stream', + 'application/unknown', + 'application/x-binary', + 'text/unknown', + 'unknown/unknown', + ]) if isinstance(self.site, DataSite): # It is not clear when this format has been added, see T129281. base.append('application/vnd.php.serialized') @@ -138,12 +146,7 @@ for module in ('edit', 'parse'): args = self.site, module, 'contentformat', base with self.subTest(module=module): - if self.site.family.name in ('wpbeta', 'wsbeta') \ - or self.site.code == 'test': - # T259100: ignore experimentals - self._check_param_subset(*args) - else: - self._check_param_values(*args) + self._check_param_values(*args)
def test_content_model(self): """Test content model."""
pywikibot-commits@lists.wikimedia.org