jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] Wikibase test: Use valid alias ......................................................................
[FIX] Wikibase test: Use valid alias
With revision 197062264 of Q5296 on wikidata, aliases have been deleted, including one used by our test.
Change-Id: I67fd42c4738cea2c28831985dd7310a91c107d93 --- M tests/wikibase_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/wikibase_tests.py b/tests/wikibase_tests.py index 41e90c2..fc1038e 100644 --- a/tests/wikibase_tests.py +++ b/tests/wikibase_tests.py @@ -54,7 +54,7 @@ self.assertIn('en', item.labels) self.assertTrue(item.labels['en'].lower().endswith('main page')) self.assertIn('en', item.aliases) - self.assertIn('HomePage', item.aliases['en']) + self.assertIn('Home page', item.aliases['en']) self.assertEqual(item.namespace(), 0) item2 = pywikibot.ItemPage(repo, 'q5296') self.assertEqual(item2.getID(), 'Q5296')
pywikibot-commits@lists.wikimedia.org