jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/768189 )
Change subject: [skip actions] Use assertIsEmpty method with deletionbot_tests.py ......................................................................
[skip actions] Use assertIsEmpty method with deletionbot_tests.py
Bug: T303094 Change-Id: Id7d448fd2298a30fcce36e65882d600eae96d6ca --- M tests/deletionbot_tests.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/deletionbot_tests.py b/tests/deletionbot_tests.py index d871c89..602507c 100644 --- a/tests/deletionbot_tests.py +++ b/tests/deletionbot_tests.py @@ -30,7 +30,7 @@ site = self.get_site() cat = pywikibot.Category(site, 'Pywikibot Delete Test') delete.main('-cat:Pywikibot_Delete_Test', '-always') - self.assertEmpty(list(cat.members())) + self.assertIsEmpty(list(cat.members())) delete.main('-page:User:Unicodesnowman/DeleteTest1', '-always', '-undelete', '-summary=pywikibot unit tests') delete.main('-page:User:Unicodesnowman/DeleteTest2', '-always',
pywikibot-commits@lists.wikimedia.org