jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[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(-)

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',

To view, visit change 768189. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Id7d448fd2298a30fcce36e65882d600eae96d6ca
Gerrit-Change-Number: 768189
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged