mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +01:00
Update tests.
This commit is contained in:
parent
30a026a92a
commit
ccea98b428
@ -387,8 +387,6 @@ class IrcTestCase(SupyTestCase):
|
|||||||
m = self.irc.takeMsg()
|
m = self.irc.takeMsg()
|
||||||
self.failUnless(m.command == 'CAP', 'Expected CAP, got %r.' % m)
|
self.failUnless(m.command == 'CAP', 'Expected CAP, got %r.' % m)
|
||||||
m = self.irc.takeMsg()
|
m = self.irc.takeMsg()
|
||||||
self.failUnless(m.command == 'CAP', 'Expected CAP, got %r.' % m)
|
|
||||||
m = self.irc.takeMsg()
|
|
||||||
self.failUnless(m.command == 'USER', 'Expected USER, got %r.' % m)
|
self.failUnless(m.command == 'USER', 'Expected USER, got %r.' % m)
|
||||||
|
|
||||||
def testPingResponse(self):
|
def testPingResponse(self):
|
||||||
@ -486,8 +484,8 @@ class IrcCallbackTestCase(SupyTestCase):
|
|||||||
user = 'user any user'
|
user = 'user any user'
|
||||||
conf.supybot.user.setValue(user)
|
conf.supybot.user.setValue(user)
|
||||||
expected = [ircmsgs.nick(nick),
|
expected = [ircmsgs.nick(nick),
|
||||||
ircmsgs.IrcMsg(command='CAP', args=('REQ', 'account-notify')),
|
ircmsgs.IrcMsg(command='CAP', args=('REQ',
|
||||||
ircmsgs.IrcMsg(command='CAP', args=('REQ', 'extended-join')),
|
'account-notify extended-join multi-prefix')),
|
||||||
ircmsgs.IrcMsg(command='CAP', args=('END',)),
|
ircmsgs.IrcMsg(command='CAP', args=('END',)),
|
||||||
ircmsgs.user('limnoria', user)]
|
ircmsgs.user('limnoria', user)]
|
||||||
irc = irclib.Irc('test')
|
irc = irclib.Irc('test')
|
||||||
|
Loading…
Reference in New Issue
Block a user