mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-06 09:34:05 +01:00
Moved action to Misc from Utilities.
This commit is contained in:
parent
754978850c
commit
0a3b05f1fb
@ -33,6 +33,10 @@ from test import *
|
|||||||
|
|
||||||
class MiscTestCase(ChannelPluginTestCase, PluginDocumentation):
|
class MiscTestCase(ChannelPluginTestCase, PluginDocumentation):
|
||||||
plugins = ('Misc', 'Utilities', 'Gameknot', 'Ctcp')
|
plugins = ('Misc', 'Utilities', 'Gameknot', 'Ctcp')
|
||||||
|
def testAction(self):
|
||||||
|
self.assertAction('action moos', 'moos')
|
||||||
|
self.assertAction('action','')
|
||||||
|
|
||||||
def testReplyWhenNotCommand(self):
|
def testReplyWhenNotCommand(self):
|
||||||
try:
|
try:
|
||||||
conf.replyWhenNotCommand = True
|
conf.replyWhenNotCommand = True
|
||||||
|
@ -66,10 +66,6 @@ class UtilitiesTestCase(PluginTestCase, PluginDocumentation):
|
|||||||
m = self.getMsg('cpustats')
|
m = self.getMsg('cpustats')
|
||||||
self.assertResponse('echo "%s"' % m.args[1], m.args[1])
|
self.assertResponse('echo "%s"' % m.args[1], m.args[1])
|
||||||
|
|
||||||
def testAction(self):
|
|
||||||
self.assertAction('action moos', 'moos')
|
|
||||||
self.assertAction('action','')
|
|
||||||
|
|
||||||
def testRe(self):
|
def testRe(self):
|
||||||
self.assertResponse('re "m/My children/" [cpustats]', 'My children')
|
self.assertResponse('re "m/My children/" [cpustats]', 'My children')
|
||||||
self.assertResponse('re s/user/luser/g user user', 'luser luser')
|
self.assertResponse('re s/user/luser/g user user', 'luser luser')
|
||||||
|
Loading…
Reference in New Issue
Block a user