jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/498356 )
Change subject: [bugfix] Fix spelling mistake of TestUserClass method ......................................................................
[bugfix] Fix spelling mistake of TestUserClass method
Bug: T218989 Change-Id: Id30dce16f924ea0b87beb335a9c9316974337963 --- M tests/user_tests.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: D3r1ck01: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/user_tests.py b/tests/user_tests.py index 45da6aa..72d410c 100644 --- a/tests/user_tests.py +++ b/tests/user_tests.py @@ -81,7 +81,7 @@ 'Benutzer Diskussion:Xqt/pwb')) self.assertTrue(user.is_thankable) contribs = user.contributions(total=10) - self.assertLenth(list(contribs), 10) + self.assertLength(list(contribs), 10) self.assertTrue(all(isinstance(contrib, tuple) for contrib in contribs)) self.assertTrue(all('user' in contrib @@ -178,7 +178,7 @@ last = uc[0] for contrib in uc: self.assertIsInstance(contrib, tuple) - self.assertLenth(contrib, 4) + self.assertLength(contrib, 4) p, i, t, c = contrib self.assertIsInstance(p, Page) self.assertIsInstance(i, int)
pywikibot-commits@lists.wikimedia.org