diff options
author | 2018-05-31 12:53:37 +0200 | |
---|---|---|
committer | 2018-05-31 12:53:37 +0200 | |
commit | 65d8bcaed6eecd051f2a0886ed2c7ad1b3af19aa (patch) | |
tree | abc85b67c9a369cd5335c8311944d1e35e257cdf /tests | |
parent | verbose install (diff) |
use the virtualenv python binary in travis
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_snekbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_snekbox.py b/tests/test_snekbox.py index cc02ef8..8ebd0c0 100644 --- a/tests/test_snekbox.py +++ b/tests/test_snekbox.py @@ -3,9 +3,9 @@ import pytest import os from snekbox import Snekbox - +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='/usr/bin/python3.6') +snek = Snekbox(nsjail_binary=nsjail, python_binary=python_binary) class SnekTests(unittest.TestCase): def test_nsjail(self): |