Updated some tests somewhat.

This commit is contained in:
Jeremy Fincher 2003-10-20 03:43:33 +00:00
parent c9e6f77c3a
commit 207ac96cdf

View File

@ -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')