From 24e0858902f17e30182534549836366885fa5682 Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Tue, 8 Oct 2019 14:08:04 -0700 Subject: [PATCH 1/4] add sqlite tests --- test/run-versions | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/run-versions b/test/run-versions index 6c6617c..30aa46e 100755 --- a/test/run-versions +++ b/test/run-versions @@ -4,11 +4,14 @@ # shellcheck source=bin/default_pythons source "bin/default_pythons" +assertCaptured "Installing SQLite3" + testPythonDefault() { updateVersion "pythonDefault" $DEFAULT_PYTHON_VERSION compile "pythonDefault" assertCaptured $DEFAULT_PYTHON_VERSION assertNotCaptured "security update" + assertCaptured "Installing SQLite3" assertCapturedSuccess } @@ -18,6 +21,7 @@ testPython2() { compile "python2" assertCaptured $LATEST_27 assertNotCaptured "security update" + assertCaptured "Installing SQLite3" assertCapturedSuccess } @@ -25,6 +29,7 @@ testPython2_warn() { compile "python2_warn" assertCaptured "python-2.7.15" assertCaptured "security update!" + assertCaptured "Installing SQLite3" assertCapturedSuccess } @@ -40,6 +45,7 @@ testPython3_4() { compile "python3_4" assertCaptured $LATEST_34 assertNotCaptured "security update" + assertCaptured "Installing SQLite3" assertCapturedSuccess fi } @@ -49,6 +55,7 @@ testPython3_4_warn() { if [[ $STACK = "cedar-14" ]]; then assertCaptured "python-3.4.0" assertCaptured "security update!" + assertCaptured "Installing SQLite3" assertCapturedSuccess else assertCapturedError @@ -67,6 +74,7 @@ testPython3_5() { compile "python3_5" assertCaptured $LATEST_35 assertNotCaptured "security update" + assertCaptured "Installing SQLite3" assertCapturedSuccess fi } @@ -93,6 +101,7 @@ testPython3_6() { compile "python3_6" assertCaptured $LATEST_36 assertNotCaptured "security update" + assertCaptured "Installing SQLite3" assertCapturedSuccess } @@ -100,6 +109,7 @@ testPython3_6_warn() { compile "python3_6_warn" assertCaptured "python-3.6.7" assertCaptured "security update!" + assertCaptured "Installing SQLite3" assertCapturedSuccess } @@ -117,6 +127,7 @@ testPython3_7() { else assertNotCaptured "security update" assertCaptured $LATEST_37 + assertCaptured "Installing SQLite3" assertCapturedSuccess fi } @@ -128,6 +139,7 @@ testPython3_7_warn() { else assertCaptured "python-3.7.1" assertCaptured "security update!" + assertCaptured "Installing SQLite3" assertCapturedSuccess fi } From d0fd9ad58aaac53ae440aae64be042b306ae5e9a Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Tue, 8 Oct 2019 14:10:51 -0700 Subject: [PATCH 2/4] Changelog update --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfb9164..9e761a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ # Master +- Sqlite3 Update: + - Add Tests - Refactor: use variable rather than hardcoded /app - Bug fix: pipenv no longer installs twice on CI From 0c78978e9048087ac9e04a146f670b337c7c8c13 Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Tue, 8 Oct 2019 14:57:15 -0700 Subject: [PATCH 3/4] don't check python 3.4 --- test/run-versions | 1 - 1 file changed, 1 deletion(-) diff --git a/test/run-versions b/test/run-versions index 30aa46e..77bba54 100755 --- a/test/run-versions +++ b/test/run-versions @@ -45,7 +45,6 @@ testPython3_4() { compile "python3_4" assertCaptured $LATEST_34 assertNotCaptured "security update" - assertCaptured "Installing SQLite3" assertCapturedSuccess fi } From 950572132ccbfe6e5ff217a94976b590e626cece Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Wed, 9 Oct 2019 13:57:06 -0700 Subject: [PATCH 4/4] remove test for sqlite on older versions of python 3.4 --- test/run-versions | 1 - 1 file changed, 1 deletion(-) diff --git a/test/run-versions b/test/run-versions index 77bba54..9e30b1c 100755 --- a/test/run-versions +++ b/test/run-versions @@ -54,7 +54,6 @@ testPython3_4_warn() { if [[ $STACK = "cedar-14" ]]; then assertCaptured "python-3.4.0" assertCaptured "security update!" - assertCaptured "Installing SQLite3" assertCapturedSuccess else assertCapturedError