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

View File

@ -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')