jenkins-bot has submitted this change and it was merged.
Change subject: Re-enable two wikibase tests ......................................................................
Re-enable two wikibase tests
test.wikidata.org had a bug which caused two tests to fail. Re-enabling these tests.
Change-Id: Ifa11f0a35e1b91dcf9c3ddfb4d1dcad9a8674037 --- M tests/wikibase_tests.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/wikibase_tests.py b/tests/wikibase_tests.py index c436fd6..24be9fd 100644 --- a/tests/wikibase_tests.py +++ b/tests/wikibase_tests.py @@ -501,12 +501,12 @@ self.assertEqual(self.wdp.templates(), []) self.assertFalse(self.wdp.isCategoryRedirect())
- def __test_item_templates(self): + def test_item_templates(self): """Test templatesWithParams.""" self.wdp = pywikibot.ItemPage(self.get_repo(), 'Q60') self.wdp.templatesWithParams()
- def __test_item_bot_may_edit(self): + def test_item_bot_may_edit(self): """Test botMayEdit.""" site = self.get_site() page = pywikibot.Page(site, 'Q60')
pywikibot-commits@lists.wikimedia.org