jenkins-bot has submitted this change and it was merged.
Change subject: Check only standard watchlist flags ......................................................................
Check only standard watchlist flags
Remove ORES extension oresreview flag from test at all. Check ony for standard subset of watchlist flags.
Bug: T151156 Change-Id: I0c004bce83b2d09b7772da6029d3422959dac300 --- M tests/paraminfo_tests.py 1 file changed, 1 insertion(+), 12 deletions(-)
Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/paraminfo_tests.py b/tests/paraminfo_tests.py index b72a0ac..2e4bb18 100644 --- a/tests/paraminfo_tests.py +++ b/tests/paraminfo_tests.py @@ -81,20 +81,9 @@ if MediaWikiVersion(self.site.version()) >= MediaWikiVersion('1.24'): types.append('unread')
- ores_installed = { - 'wikipedia': ('en', 'fa', 'nl', 'pl', 'pt', 'ru', 'tr'), - 'wikidata': ('en',), - } - - if ( - self.site.family in ores_installed and - self.site.lang in ores_installed[self.site.family] - ): - types.append('oresreview') - known = types + ['!%s' % item for item in types]
- self._check_param_values(self.site, 'query+watchlist', 'show', known) + self._check_param_subset(self.site, 'query+watchlist', 'show', known)
def test_watchlist_type(self): """Test watchlist type."""