From 5c3f13bd519fda6bd10ed05c88307d6d4095daa5 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 24 Jul 2004 05:16:02 +0000 Subject: [PATCH] This must not have been run in awhile. --- test/test_Alias.py | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/test/test_Alias.py b/test/test_Alias.py index 9eb4d5d94..13b26331b 100644 --- a/test/test_Alias.py +++ b/test/test_Alias.py @@ -66,7 +66,7 @@ class FunctionsTest(SupyTestCase): class AliasTestCase(ChannelPluginTestCase, PluginDocumentation): - plugins = ('Alias', 'Filter', 'Utilities') + plugins = ('Alias', 'Filter', 'Utilities', 'Format') def testNoAliasWithNestedCommandName(self): 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') self.assertError('alias add "foo bar" foo') - try: - conf.supybot.pipeSyntax.setValue(True) - 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) + self.assertError('alias add "foo|bar" foo') - def testNotCannotNestRaised(self): - self.assertNotError('alias add mytell "tell $channel $1"') - self.assertNotError('mytell #foo bugs') - self.assertNoResponse('blah blah blah', 2) +# Can't do this because we can't tell channels anymore, but I forget what +# exactly it was testing. +## def testNotCannotNestRaised(self): +## self.assertNotError('alias add mytell "tell $channel $1"') +## self.assertNotError('mytell #foo bugs') +## self.assertNoResponse('blah blah blah', 2) def testChannel(self): self.assertNotError('alias add channel echo $channel')