SupySandbox: fix testProtections()

This commit is contained in:
Valentin Lorentz 2010-12-23 16:09:59 +01:00
parent f50830242e
commit 525097416b
2 changed files with 6 additions and 6 deletions

View File

@ -50,6 +50,7 @@ import sys
import time
import random
import select
import signal
import resource as R
import supybot.utils as utils
from supybot.commands import *

View File

@ -49,8 +49,7 @@ class SupySandboxTestCase(PluginTestCase):
' $$ toto=False', "foo")
def testProtections(self):
#self.assertResponse('sandbox while True: print 1', "Timeout")
pass
self.assertResponse('sandbox while True: pass', "Killed")
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: