aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-06-02 21:54:34 +0200
committerGravatar Christopher Baklid <[email protected]>2018-06-02 21:54:34 +0200
commit1798960f4e4029bffdc2d54ab904a1670e9c1659 (patch)
treefacf01616016e9740215831c909dd3ead2b85132 /tests
parentupdate readme [ci skip] (diff)
handle autodiscover better, find the python executable automatically, log errors not handled explicitly
Diffstat (limited to 'tests')
-rw-r--r--tests/test_snekbox.py4
1 files changed, 2 insertions, 2 deletions
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):