From 52bd33015cce516d725d18d3ae4de31dcdb9183a Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 22 Oct 2003 15:38:43 +0000 Subject: [PATCH] Made the environment slightly cleaner in PluginTestCase.setUp. --- test/test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test.py b/test/test.py index 06ef37b3c..168248c7c 100755 --- a/test/test.py +++ b/test/test.py @@ -115,6 +115,9 @@ class PluginTestCase(unittest.TestCase): cleanConfDir = True cleanDataDir = True def setUp(self, nick='test'): + # Set conf variables appropriately. + conf.prefixChar = '@' + conf.replyWhenNotCommand = False self.myVerbose = world.myVerbose if self.cleanConfDir: for filename in os.listdir(conf.confDir):