mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Create failcase for deploying the same code twice
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
# Master
|
||||
|
||||
- Add failcase for cache busting
|
||||
|
||||
- Correct ftp to https in vendored file
|
||||
- Warn for Django 1.11 approaching EOL, provide link to roadmap
|
||||
|
||||
|
||||
@@ -65,6 +65,16 @@ testPylibmc() {
|
||||
assertCapturedSuccess
|
||||
}
|
||||
|
||||
testDeployingTwiceUsesTheCache() {
|
||||
compile "pythonDefault"
|
||||
assertNotCaptured "Installing collected packages:"
|
||||
assertCapturedSuccess
|
||||
compile "pythonDefault"
|
||||
assertCaptured "Requirement already satisfied:"
|
||||
assertNotCaptured "Installing collected packages:"
|
||||
assertCapturedSuccess
|
||||
}
|
||||
|
||||
pushd $(dirname 0) >/dev/null
|
||||
popd >/dev/null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user