mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +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())
|
log.critical('Beginning test case %s', self.id())
|
||||||
unittest.TestCase.setUp(self)
|
unittest.TestCase.setUp(self)
|
||||||
|
|
||||||
|
|
||||||
class PluginTestCase(SupyTestCase):
|
class PluginTestCase(SupyTestCase):
|
||||||
"""Subclass this to write a test case for a plugin. See test/test_Fun.py
|
"""Subclass this to write a test case for a plugin. See test/test_Fun.py
|
||||||
for an example.
|
for an example.
|
||||||
@ -120,7 +121,8 @@ class PluginTestCase(SupyTestCase):
|
|||||||
return
|
return
|
||||||
SupyTestCase.setUp(self)
|
SupyTestCase.setUp(self)
|
||||||
# Set conf variables appropriately.
|
# Set conf variables appropriately.
|
||||||
conf.supybot.prefixChars.set('@')
|
conf.supybot.prefixChars.setValue('@')
|
||||||
|
conf.supybot.reply.detailedErrors.setValue(True)
|
||||||
conf.supybot.reply.whenNotCommand.setValue(False)
|
conf.supybot.reply.whenNotCommand.setValue(False)
|
||||||
self.myVerbose = world.myVerbose
|
self.myVerbose = world.myVerbose
|
||||||
if self.cleanConfDir:
|
if self.cleanConfDir:
|
||||||
|
Loading…
Reference in New Issue
Block a user