SupySandbox: fix testProtections()
This commit is contained in:
parent
f50830242e
commit
525097416b
@ -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 *
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user