mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-25 20:41:18 -05:00
Remove redundant assertion
This commit is contained in:
parent
64acad0d0b
commit
6760e79525
@ -428,9 +428,6 @@ class ChannelTestCase(ChannelPluginTestCase):
|
|||||||
def testInviteCustomCapability(self):
|
def testInviteCustomCapability(self):
|
||||||
self.irc.feedMsg(ircmsgs.op(self.channel, self.nick))
|
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'):
|
with conf.supybot.plugins.Channel.invite.requireCapability.context('freeinvite'):
|
||||||
m = self.getMsg('invite foo',
|
m = self.getMsg('invite foo',
|
||||||
frm='test!user@with__no_testcap__')
|
frm='test!user@with__no_testcap__')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user