jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/328584 )
Change subject: Fix failing tests after regression introduced in adb0d36 ......................................................................
Fix failing tests after regression introduced in adb0d36
Change-Id: I039f875a9d135abbddc11f180947208c086a95a4 --- M tests/site_tests.py 1 file changed, 5 insertions(+), 2 deletions(-)
Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
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."""
pywikibot-commits@lists.wikimedia.org