Skip to content
Snippets Groups Projects
Unverified Commit 41e0f642 authored by Casey's avatar Casey Committed by GitHub
Browse files

Merge pull request #782 from heroku/next-release

Test updates
parents 62eaae35 b3988a56
No related branches found
No related tags found
No related merge requests found
requests
\ No newline at end of file
python-3.7.0
flask
...@@ -19,10 +19,15 @@ testPipenvLock() { ...@@ -19,10 +19,15 @@ testPipenvLock() {
testPipenvVersion() { testPipenvVersion() {
compile "pipenv-version" compile "pipenv-version"
assertCaptured "3.6.6" assertCaptured "3.6.7"
assertCapturedSuccess assertCapturedSuccess
} }
testPipenvVersion2() {
compile "pipenv-version2"
assertCaptured "2.7.15"
assertCapturedSuccess
}
testPipenvFullVersion() { testPipenvFullVersion() {
compile "pipenv-full-version" compile "pipenv-full-version"
assertCaptured "3.6.3" assertCaptured "3.6.3"
...@@ -87,6 +92,18 @@ testPylibmc() { ...@@ -87,6 +92,18 @@ testPylibmc() {
assertCapturedSuccess assertCapturedSuccess
} }
testPythonDefault() {
compile "pythonDefault"
assertCaptured "python-3.6.7"
assertCapturedSuccess
}
testPython2() {
compile "python2"
assertCaptured "python-2.7.15"
assertCapturedSuccess
}
testPython2_warn() { testPython2_warn() {
compile "python2_warn" compile "python2_warn"
if [[ $STACK = "heroku-18" ]]; then if [[ $STACK = "heroku-18" ]]; then
...@@ -98,31 +115,41 @@ testPython2_warn() { ...@@ -98,31 +115,41 @@ testPython2_warn() {
fi fi
} }
testPython2() { testPython2_fail() {
compile "python2" compile "python2_fail"
assertCaptured "python-2.7.15" assertCaptured "Aborting"
assertCapturedSuccess assertCapturedError
}
testPython3_4() {
compile "python3_4"
assertCaptured "python-3.4.9"
assertCapturedSuccess
} }
# This fail
testPython3_4_warn() { testPython3_4_warn() {
compile "python3_4_warn" compile "python3_4_warn"
if [[ $STACK = "cedar-14" ]]; then if [[ $STACK = "cedar-14" ]]; then
assertCaptured "python-3.4.0" assertCaptured "python-3.4.0"
assertCaptured "security update!"
assertCapturedSuccess assertCapturedSuccess
else else
assertCapturedError assertCapturedError
fi fi
} }
# This fail testPython3_4_fail() {
testPython3_4() { compile "python3_4_fail"
compile "python3_4" assertCaptured "Aborting"
assertCaptured "python-3.4.9" assertCapturedError
assertCapturedError }
testPython3_5() {
compile "python3_5"
assertCaptured "python-3.5.6"
assertCapturedSuccess
} }
# This fail
testPython3_5_warn() { testPython3_5_warn() {
compile "python3_5_warn" compile "python3_5_warn"
if [[ $STACK = "cedar-14" ]]; then if [[ $STACK = "cedar-14" ]]; then
...@@ -134,14 +161,18 @@ testPython3_5_warn() { ...@@ -134,14 +161,18 @@ testPython3_5_warn() {
fi fi
} }
# This will fail testPython3_5_fail() {
testPython3_5() { compile "python3_5_fail"
compile "python3_5" assertCaptured "Aborting"
assertCaptured "python-3.5.6" assertCapturedError
assertCapturedError }
testPython3_6() {
compile "python3_6"
assertCaptured "python-3.6.7"
assertCapturedSuccess
} }
# This will warn
testPython3_6_warn() { testPython3_6_warn() {
compile "python3_6_warn" compile "python3_6_warn"
assertCaptured "python-3.6.5" assertCaptured "python-3.6.5"
...@@ -149,33 +180,36 @@ testPython3_6_warn() { ...@@ -149,33 +180,36 @@ testPython3_6_warn() {
assertCapturedSuccess assertCapturedSuccess
} }
testPython3_6() { testPython3_6_fail() {
compile "python3_6" compile "python3_6_fail"
assertCaptured "python-3.6.6" assertCaptured "Aborting"
assertCapturedSuccess assertCapturedError
}
# This will fail
testPython3_6_7() {
compile "python3_6_7"
assertCaptured "python-3.6.7"
assertCapturedError
} }
testPython3_7() { testPython3_7() {
compile "python3_7" compile "python3_7"
if [[ $STACK = "cedar-14" ]]; then
assertCapturedError
else
assertCaptured "python-3.7.1"
assertCapturedSuccess
fi
}
testPython3_7_warn() {
compile "python3_7_warn"
if [[ $STACK = "cedar-14" ]]; then if [[ $STACK = "cedar-14" ]]; then
assertCapturedError assertCapturedError
else else
assertCaptured "python-3.7.0" assertCaptured "python-3.7.0"
assertCaptured "security update!"
assertCapturedSuccess assertCapturedSuccess
fi fi
} }
# This will fail testPython3_7_fail() {
testPython3_7_1() { compile "python3_7_fail"
compile "python3_7_1" assertCaptured "Aborting"
assertCaptured "python-3.7.1"
assertCapturedError assertCapturedError
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment