diff --git a/test/fixtures/python2/requirements.txt b/test/fixtures/python2/requirements.txt new file mode 100644 index 0000000..663bd1f --- /dev/null +++ b/test/fixtures/python2/requirements.txt @@ -0,0 +1 @@ +requests \ No newline at end of file diff --git a/test/fixtures/python2/runtime.txt b/test/fixtures/python2/runtime.txt new file mode 100644 index 0000000..ba85ab9 --- /dev/null +++ b/test/fixtures/python2/runtime.txt @@ -0,0 +1 @@ +python-2.7.13 \ No newline at end of file diff --git a/test/fixtures/python3/requirements.txt b/test/fixtures/python3/requirements.txt new file mode 100644 index 0000000..663bd1f --- /dev/null +++ b/test/fixtures/python3/requirements.txt @@ -0,0 +1 @@ +requests \ No newline at end of file diff --git a/test/fixtures/python3/runtime.txt b/test/fixtures/python3/runtime.txt new file mode 100644 index 0000000..80aea67 --- /dev/null +++ b/test/fixtures/python3/runtime.txt @@ -0,0 +1 @@ +python-3.6.0 \ No newline at end of file diff --git a/test/run b/test/run index a5d9355..c650ea7 100755 --- a/test/run +++ b/test/run @@ -13,6 +13,19 @@ testPsycopg2() { assertCapturedSuccess } +testPython2() { + compile "python2" + assertCaptured "python-2.7.13" + assertCapturedSuccess +} + +testPython3() { + compile "python3" + assertCaptured "python-3.6.0" + assertCapturedSuccess +} + + pushd $(dirname 0) >/dev/null popd >/dev/null