jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/477349 )
Change subject: Revert "[fix] Temporarily deactivate WikibaseKnownTypesTests for ws/wpbeta" ......................................................................
Revert "[fix] Temporarily deactivate WikibaseKnownTypesTests for ws/wpbeta"
This reverts commit a9fd96b00220b5dc777e2d8ec9251b52dd3442dc. The underlying problem is solved in I7c17eaa670b
Add unsupported 'entity-schema' data type
Bug: T210322 Change-Id: I1265dcf336510423dbd0bd69b822bfb26bde9a7d --- M tests/paraminfo_tests.py 1 file changed, 2 insertions(+), 11 deletions(-)
Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/paraminfo_tests.py b/tests/paraminfo_tests.py index f97c317..f28eafe 100644 --- a/tests/paraminfo_tests.py +++ b/tests/paraminfo_tests.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Test confirming paraminfo contains expected values.""" # -# (C) Pywikibot team, 2015-2018 +# (C) Pywikibot team, 2015-2020 # # Distributed under the terms of the MIT license. # @@ -222,16 +222,6 @@
"""Verify Wikibase types using paraminfo."""
- @classmethod - def setUpClass(cls): - """Set up the test class.""" - super(WikibaseKnownTypesTests, cls).setUpClass() - for site in cls.sites.values(): - if site['site'].family.name.endswith('beta'): - raise unittest.SkipTest( - '{}: skipping {!r} due to Bug T210322' - .format(cls.__name__, site['site'])) - def test_entities(self): """Test known entities.""" unsupported = {'form', 'lexeme', 'sense'} # T195435 @@ -246,6 +236,7 @@ unsupported = { 'wikibase-form', 'wikibase-lexeme', 'wikibase-sense', # T194890 'musical-notation', # T218506 + 'entity-schema', # T245949 } known = set(Property.types) | unsupported self._check_param_superset(
pywikibot-commits@lists.wikimedia.org