Magul has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/328584 )
Change subject: Fix failing tests after regression introduced in I0e53be3c8cbbf6a533ddbb0b38855fcff8cf5e2f ...................................................................... Fix failing tests after regression introduced in I0e53be3c8cbbf6a533ddbb0b38855fcff8cf5e2f Change-Id: I039f875a9d135abbddc11f180947208c086a95a4 --- M tests/site_tests.py 1 file changed, 5 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/84/328584/1 diff --git a/tests/site_tests.py b/tests/site_tests.py index 9aaf19f..96cb3af 100644 --- a/tests/site_tests.py +++ b/tests/site_tests.py @@ -124,12 +124,15 @@ old = self.site.siteinfo('general') self.assertIn('DUMMY', old) self.assertNotEqual(self.site.siteinfo('general', force=True), old) - self.assertOneDeprecationParts('Calling siteinfo', 'itself', 4) + self.assertOneDeprecationParts('Calling siteinfo', + 'itself as a dictionary', + 4) def test_siteinfo_dump(self): """Test calling the Siteinfo with dump=True.""" self.assertIn('statistics', self.site.siteinfo('statistics', dump=True)) - self.assertOneDeprecationParts('Calling siteinfo', 'itself') + self.assertOneDeprecationParts('Calling siteinfo', + 'itself as a dictionary') def test_language_method(self): """Test if the language method returns the same as the lang property.""" -- To view, visit https://gerrit.wikimedia.org/r/328584 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I039f875a9d135abbddc11f180947208c086a95a4 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Magul <tomasz.magul...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits