Added another check for setprefixchar to make sure it returns when it hits a

bad prefixchar
This commit is contained in:
Daniel DiPaolo 2003-12-05 19:54:16 +00:00
parent 2e4ecfe03b
commit 99782d0eeb
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ class AdminTestCase(PluginTestCase, PluginDocumentation):
self.assertNotError('setprefixchar $')
self.assertResponse('getprefixchar', "'$'")
self.assertError('setprefixchar p')
self.assertNoResponse(' ', 2) # make sure we return
def testAddcapability(self):
self.assertError('addcapability sdlkfj foo')