mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +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
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user