update 3.4 tests to fail on heroku 18

This commit is contained in:
Casey Faist
2019-10-24 09:40:31 -07:00
parent 9ca0c4eb84
commit f90dfbc12e
+12 -6
View File
@@ -38,12 +38,14 @@ testPython2_fail() {
}
testPython3_4() {
if [[ $STACK != "cedar-14" ]]; then
updateVersion "python3_4" $LATEST_34
compile "python3_4"
assertCaptured $LATEST_34
assertNotCaptured "security update"
updateVersion "python3_4" $LATEST_34
compile "python3_4"
assertCaptured $LATEST_34
assertNotCaptured "security update"
if [[ $STACK == "cedar-14" ]] || [[ $STACK == "heroku-16" ]]; then
assertCapturedSuccess
else
assertCapturedError
fi
}
@@ -51,7 +53,11 @@ testPython3_4_warn() {
compile "python3_4_warn"
assertCaptured "python-3.4.9"
assertCaptured "security update!"
assertCapturedSuccess
if [[ $STACK == "cedar-14" ]] || [[ $STACK == "heroku-16" ]]; then
assertCapturedSuccess
else
assertCapturedError
fi
}
testPython3_4_fail() {