mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
detailedErrors should be True.
This commit is contained in:
parent
ac67bb0cc0
commit
16b65f58ec
@ -106,6 +106,7 @@ class SupyTestCase(unittest.TestCase):
|
||||
log.critical('Beginning test case %s', self.id())
|
||||
unittest.TestCase.setUp(self)
|
||||
|
||||
|
||||
class PluginTestCase(SupyTestCase):
|
||||
"""Subclass this to write a test case for a plugin. See test/test_Fun.py
|
||||
for an example.
|
||||
@ -120,7 +121,8 @@ class PluginTestCase(SupyTestCase):
|
||||
return
|
||||
SupyTestCase.setUp(self)
|
||||
# Set conf variables appropriately.
|
||||
conf.supybot.prefixChars.set('@')
|
||||
conf.supybot.prefixChars.setValue('@')
|
||||
conf.supybot.reply.detailedErrors.setValue(True)
|
||||
conf.supybot.reply.whenNotCommand.setValue(False)
|
||||
self.myVerbose = world.myVerbose
|
||||
if self.cleanConfDir:
|
||||
|
Loading…
Reference in New Issue
Block a user