mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
Made the environment slightly cleaner in PluginTestCase.setUp.
This commit is contained in:
parent
f967783949
commit
52bd33015c
@ -115,6 +115,9 @@ class PluginTestCase(unittest.TestCase):
|
|||||||
cleanConfDir = True
|
cleanConfDir = True
|
||||||
cleanDataDir = True
|
cleanDataDir = True
|
||||||
def setUp(self, nick='test'):
|
def setUp(self, nick='test'):
|
||||||
|
# Set conf variables appropriately.
|
||||||
|
conf.prefixChar = '@'
|
||||||
|
conf.replyWhenNotCommand = False
|
||||||
self.myVerbose = world.myVerbose
|
self.myVerbose = world.myVerbose
|
||||||
if self.cleanConfDir:
|
if self.cleanConfDir:
|
||||||
for filename in os.listdir(conf.confDir):
|
for filename in os.listdir(conf.confDir):
|
||||||
|
Loading…
Reference in New Issue
Block a user