mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 14:40:51 +01:00
This must not have been run in awhile.
This commit is contained in:
parent
b2dbbe9ef5
commit
5c3f13bd51
@ -66,7 +66,7 @@ class FunctionsTest(SupyTestCase):
|
|||||||
|
|
||||||
|
|
||||||
class AliasTestCase(ChannelPluginTestCase, PluginDocumentation):
|
class AliasTestCase(ChannelPluginTestCase, PluginDocumentation):
|
||||||
plugins = ('Alias', 'Filter', 'Utilities')
|
plugins = ('Alias', 'Filter', 'Utilities', 'Format')
|
||||||
def testNoAliasWithNestedCommandName(self):
|
def testNoAliasWithNestedCommandName(self):
|
||||||
self.assertError('alias add foo "[bar] baz"')
|
self.assertError('alias add foo "[bar] baz"')
|
||||||
|
|
||||||
@ -109,18 +109,14 @@ class AliasTestCase(ChannelPluginTestCase, PluginDocumentation):
|
|||||||
self.assertError('alias add FOO foo')
|
self.assertError('alias add FOO foo')
|
||||||
self.assertError('alias add [] foo')
|
self.assertError('alias add [] foo')
|
||||||
self.assertError('alias add "foo bar" foo')
|
self.assertError('alias add "foo bar" foo')
|
||||||
try:
|
|
||||||
conf.supybot.pipeSyntax.setValue(True)
|
|
||||||
self.assertError('alias add "foo|bar" foo')
|
self.assertError('alias add "foo|bar" foo')
|
||||||
conf.supybot.pipeSyntax.setValue(False)
|
|
||||||
self.assertNotError('alias add "foo|bar" foo')
|
|
||||||
finally:
|
|
||||||
conf.supybot.pipeSyntax.setValue(False)
|
|
||||||
|
|
||||||
def testNotCannotNestRaised(self):
|
# Can't do this because we can't tell channels anymore, but I forget what
|
||||||
self.assertNotError('alias add mytell "tell $channel $1"')
|
# exactly it was testing.
|
||||||
self.assertNotError('mytell #foo bugs')
|
## def testNotCannotNestRaised(self):
|
||||||
self.assertNoResponse('blah blah blah', 2)
|
## self.assertNotError('alias add mytell "tell $channel $1"')
|
||||||
|
## self.assertNotError('mytell #foo bugs')
|
||||||
|
## self.assertNoResponse('blah blah blah', 2)
|
||||||
|
|
||||||
def testChannel(self):
|
def testChannel(self):
|
||||||
self.assertNotError('alias add channel echo $channel')
|
self.assertNotError('alias add channel echo $channel')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user