From 1798960f4e4029bffdc2d54ab904a1670e9c1659 Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Sat, 2 Jun 2018 21:54:34 +0200 Subject: handle autodiscover better, find the python executable automatically, log errors not handled explicitly --- tests/test_snekbox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_snekbox.py') diff --git a/tests/test_snekbox.py b/tests/test_snekbox.py index d2f81fe..d7fa91a 100644 --- a/tests/test_snekbox.py +++ b/tests/test_snekbox.py @@ -8,9 +8,9 @@ from rmq import Rmq r = Rmq() -python_binary = os.environ.get('PYTHONEXECUTABLE', '/usr/bin/python3.6') +#python_binary = os.environ.get('PYTHONEXECUTABLE', '/usr/bin/python3.6') nsjail = os.sep.join([os.getcwd(), f'binaries{os.sep}nsjail2.6-ubuntu-x86_64']) -snek = Snekbox(nsjail_binary=nsjail, python_binary=python_binary) +snek = Snekbox(nsjail_binary=nsjail) class SnekTests(unittest.TestCase): -- cgit v1.2.3