Create failcase for deploying the same code twice

This commit is contained in:
Casey Faist
2020-03-12 13:47:29 -07:00
parent a9e5c60106
commit 8c9521d806
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -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
+10
View File
@@ -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