mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Updated to use makeChannelCapability, which is more appropriate.
This commit is contained in:
parent
40a0ed929f
commit
e0e53b57d0
@ -43,7 +43,8 @@ class ChannelDBTestCase(ChannelPluginTestCase):
|
||||
'register foo bar',
|
||||
prefix=self.prefix))
|
||||
_ = self.irc.takeMsg()
|
||||
ircdb.users.getUser(self.nick).addCapability(self.channel + '.op')
|
||||
chancap = ircdb.makeChannelCapability(self.channel, 'op')
|
||||
ircdb.users.getUser(self.nick).addCapability(chancap)
|
||||
|
||||
def testNoKeyErrorEscapeFromSeen(self):
|
||||
self.assertRegexp('seen asldfkjasdlfkj', '^I have not seen')
|
||||
|
Loading…
Reference in New Issue
Block a user