jenkins-bot has submitted this change and it was merged.
Change subject: [bugfix] takesettings is not a function, take settings from instance ......................................................................
[bugfix] takesettings is not a function, take settings from instance
Change-Id: I53425c8c8f348f57ed5525eb362d0eab7b023c3a --- M tests/checkimages_tests.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/checkimages_tests.py b/tests/checkimages_tests.py index 978547b..2a173e9 100644 --- a/tests/checkimages_tests.py +++ b/tests/checkimages_tests.py @@ -19,7 +19,8 @@ def test_load(self): """Test loading settings.""" b = checkimages.checkImagesBot(self.get_site()) - rv = b.takesettings() + b.takesettings() + rv = b.settingsData item1 = rv[0] self.assertEqual(item1[0], 1) self.assertEqual(item1[1], 'a deprecated template')
pywikibot-commits@lists.wikimedia.org