From 7f756fd7f709bc74b3eb558dccb44607844fedb4 Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Wed, 30 May 2018 19:52:07 +0200 Subject: secure python execution make snekbox a class adds nsjail 2.5 (compiled on alpine 3.7) execute python code via nsjail --- tests/__init__.py | 1 + tests/test_snekbox.py | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 tests/__init__.py create mode 100644 tests/test_snekbox.py (limited to 'tests') diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1 @@ +# diff --git a/tests/test_snekbox.py b/tests/test_snekbox.py new file mode 100644 index 0000000..5c4d1c7 --- /dev/null +++ b/tests/test_snekbox.py @@ -0,0 +1,7 @@ +import unittest +import pytest + +from snekbox import Snekbox +snek = Snekbox() + +# Write some tests at some point -- cgit v1.2.3