mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 07:34:08 +01:00
changed testEmptyNest a slight bit.
This commit is contained in:
parent
646e41bd53
commit
b14bc6e3b7
@ -256,9 +256,10 @@ class PrivmsgTestCase(ChannelPluginTestCase):
|
||||
self.assertRegexp('help firstrepeat firstcmd', 'FirstRepeat', 0)
|
||||
|
||||
def testEmptyNest(self):
|
||||
self.assertError('echo []')
|
||||
try:
|
||||
conf.replyWhenNotCommand = True
|
||||
self.assertError('echo []')
|
||||
conf.replyWhenNotCommand = False
|
||||
self.assertResponse('echo []', '[]')
|
||||
finally:
|
||||
conf.replyWhenNotCommand = False
|
||||
|
Loading…
Reference in New Issue
Block a user