Moved action to Misc from Utilities.

This commit is contained in:
Jeremy Fincher 2003-11-11 11:43:51 +00:00
parent 754978850c
commit 0a3b05f1fb
2 changed files with 4 additions and 4 deletions

View File

@ -33,6 +33,10 @@ from test import *
class MiscTestCase(ChannelPluginTestCase, PluginDocumentation):
plugins = ('Misc', 'Utilities', 'Gameknot', 'Ctcp')
def testAction(self):
self.assertAction('action moos', 'moos')
self.assertAction('action','')
def testReplyWhenNotCommand(self):
try:
conf.replyWhenNotCommand = True

View File

@ -66,10 +66,6 @@ class UtilitiesTestCase(PluginTestCase, PluginDocumentation):
m = self.getMsg('cpustats')
self.assertResponse('echo "%s"' % m.args[1], m.args[1])
def testAction(self):
self.assertAction('action moos', 'moos')
self.assertAction('action','')
def testRe(self):
self.assertResponse('re "m/My children/" [cpustats]', 'My children')
self.assertResponse('re s/user/luser/g user user', 'luser luser')