diff --git a/test/fixtures/python2/requirements.txt b/test/fixtures/python2/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..663bd1f6a2ae02f29df59fb4963c17934034f731 --- /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 0000000000000000000000000000000000000000..ba85ab9742df213599b929d6e0ac9b4f408f6c28 --- /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 0000000000000000000000000000000000000000..663bd1f6a2ae02f29df59fb4963c17934034f731 --- /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 0000000000000000000000000000000000000000..80aea67443c78b91acc7fd40849e1c28daf6ae7c --- /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 a5d9355de7a615f94c09e7a9813ab7e5bac47066..c650ea79c94495777b5bff0d25afdab5c8807975 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