mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
update 3.4 tests to fail on heroku 18
This commit is contained in:
+12
-6
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user