mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Updated some tests somewhat.
This commit is contained in:
parent
c9e6f77c3a
commit
207ac96cdf
@ -40,6 +40,7 @@ class OwnerCommandsTestCase(PluginTestCase, PluginDocumentation):
|
||||
try:
|
||||
originalConfAllowEval = conf.allowEval
|
||||
conf.allowEval = True
|
||||
self.assertNotError('eval 100')
|
||||
s = "[irc.__class__ for irc in " \
|
||||
"irc.getCallback('Relay').ircstates.keys()]"
|
||||
self.assertNotRegexp('eval ' + s, '^SyntaxError')
|
||||
|
Loading…
Reference in New Issue
Block a user