jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1104982?usp=email )
Change subject: fix: Update property names for tests/site_tests.py ......................................................................
fix: Update property names for tests/site_tests.py
Bug: T382311 Change-Id: Ia9729c2b0f543596224d09f64fd5169f03f673eb --- M tests/site_tests.py 1 file changed, 30 insertions(+), 7 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/tests/site_tests.py b/tests/site_tests.py index ffbb300..ad6455d 100755 --- a/tests/site_tests.py +++ b/tests/site_tests.py @@ -1227,13 +1227,36 @@ mysite = self.get_site(key) pnames = mysite.get_property_names() self.assertIsInstance(pnames, list) - for item in ('defaultsort', 'disambiguation', 'displaytitle', - 'expectunusedcategory', 'forcetoc', 'hiddencat', 'index', - 'jsonconfig_getdata', 'newsectionlink', 'noeditsection', - 'nogallery', 'noindex', 'nonewsectionlink', 'notoc', - 'score', 'templatedata', 'unexpectedUnconnectedPage', - 'wikibase-badge-Q17437796', 'wikibase-badge-Q17437798', - 'wikibase-badge-Q70894304', 'wikibase_item'): + for item in ( + 'archivedtalk', + 'defaultsort', + 'disambiguation', + 'displaytitle', + 'expectedUnconnectedPage', + 'expectunusedcategory', + 'expectunusedtemplate', + 'forcetoc', + 'graph-data-sources', + 'hiddencat', + 'index', + 'jsonconfig_getdata', + 'newsectionlink', + 'noeditsection', + 'nogallery', + 'noindex', + 'nonewsectionlink', + 'notoc', + 'templatedata', + 'toc', + 'unexpectedUnconnectedPage', + 'wikibase-badge-Q17437796', + 'wikibase-badge-Q17437798', + 'wikibase-badge-Q17506997', + 'wikibase-badge-Q17559452', + 'wikibase-badge-Q17580674', + 'wikibase-badge-Q70894304', + 'wikibase_item', + ): with self.subTest(item=item): self.assertIn(item, pnames)
pywikibot-commits@lists.wikimedia.org