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)
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1104982?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ia9729c2b0f543596224d09f64fd5169f03f673eb
Gerrit-Change-Number: 1104982
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]