mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-02 16:09: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:
|
try:
|
||||||
originalConfAllowEval = conf.allowEval
|
originalConfAllowEval = conf.allowEval
|
||||||
conf.allowEval = True
|
conf.allowEval = True
|
||||||
|
self.assertNotError('eval 100')
|
||||||
s = "[irc.__class__ for irc in " \
|
s = "[irc.__class__ for irc in " \
|
||||||
"irc.getCallback('Relay').ircstates.keys()]"
|
"irc.getCallback('Relay').ircstates.keys()]"
|
||||||
self.assertNotRegexp('eval ' + s, '^SyntaxError')
|
self.assertNotRegexp('eval ' + s, '^SyntaxError')
|
||||||
|
Loading…
Reference in New Issue
Block a user