From fab60ae6ab785e250c93fa19f10e57fa6919d869 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Tue, 24 Jan 2017 17:09:19 -0500 Subject: [PATCH] more tests --- test/fixtures/python2/requirements.txt | 1 + test/fixtures/python2/runtime.txt | 1 + test/fixtures/python3/requirements.txt | 1 + test/fixtures/python3/runtime.txt | 1 + test/run | 13 +++++++++++++ 5 files changed, 17 insertions(+) create mode 100644 test/fixtures/python2/requirements.txt create mode 100644 test/fixtures/python2/runtime.txt create mode 100644 test/fixtures/python3/requirements.txt create mode 100644 test/fixtures/python3/runtime.txt diff --git a/test/fixtures/python2/requirements.txt b/test/fixtures/python2/requirements.txt new file mode 100644 index 00000000..663bd1f6 --- /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 00000000..ba85ab97 --- /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 00000000..663bd1f6 --- /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 00000000..80aea674 --- /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 a5d9355d..c650ea79 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 -- GitLab