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(
--
To view, visit
https://gerrit.wikimedia.org/r/477349
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I1265dcf336510423dbd0bd69b822bfb26bde9a7d
Gerrit-Change-Number: 477349
Gerrit-PatchSet: 7
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: Framawiki <framawiki(a)tools.wmflabs.org>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot (75)