Remove redundant assertion

This commit is contained in:
Valentin Lorentz 2025-04-19 21:36:43 +02:00
parent 64acad0d0b
commit 6760e79525

View File

@ -428,9 +428,6 @@ class ChannelTestCase(ChannelPluginTestCase):
def testInviteCustomCapability(self):
self.irc.feedMsg(ircmsgs.op(self.channel, self.nick))
self.assertError('invite foo',
frm='test!user@with__no_testcap__')
with conf.supybot.plugins.Channel.invite.requireCapability.context('freeinvite'):
m = self.getMsg('invite foo',
frm='test!user@with__no_testcap__')