mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Added another check for setprefixchar to make sure it returns when it hits a
bad prefixchar
This commit is contained in:
parent
2e4ecfe03b
commit
99782d0eeb
@ -58,6 +58,7 @@ class AdminTestCase(PluginTestCase, PluginDocumentation):
|
|||||||
self.assertNotError('setprefixchar $')
|
self.assertNotError('setprefixchar $')
|
||||||
self.assertResponse('getprefixchar', "'$'")
|
self.assertResponse('getprefixchar', "'$'")
|
||||||
self.assertError('setprefixchar p')
|
self.assertError('setprefixchar p')
|
||||||
|
self.assertNoResponse(' ', 2) # make sure we return
|
||||||
|
|
||||||
def testAddcapability(self):
|
def testAddcapability(self):
|
||||||
self.assertError('addcapability sdlkfj foo')
|
self.assertError('addcapability sdlkfj foo')
|
||||||
|
Loading…
Reference in New Issue
Block a user