mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
assert not python
This commit is contained in:
+1
-1
@@ -30,4 +30,4 @@ fi
|
||||
#
|
||||
# Otherwise, `Python`.
|
||||
|
||||
ls $BUILD_DIR/**/settings.py &> /dev/null && (grep -Fiq "django" $BUILD_DIR/requirements.txt) && echo Python/Django || echo Python
|
||||
ls $BUILD_DIR/**/settings.py &> /dev/null && (grep -Fiq "django" $BUILD_DIR/requirements.txt) && echo Python/Django || echo Python
|
||||
@@ -53,22 +53,9 @@ testDetectWithSetupRequires() {
|
||||
testDetectNotPython() {
|
||||
detect "not-python"
|
||||
assertNotCaptured "Python"
|
||||
assertNoAppDetected
|
||||
assertEquals "1" "${RETURN}"
|
||||
}
|
||||
|
||||
# testPackageJsonWithVersion() {
|
||||
# compile "package-json-version"
|
||||
# assertCaptured "Using Node.js version: 0.6.11"
|
||||
# assertCaptured "Using npm version: 1.1.9"
|
||||
# assertCapturedSuccess
|
||||
# }
|
||||
|
||||
# testPackageJsonWithoutVersion() {
|
||||
# compile "package-json-noversion"
|
||||
# assertCaptured "Using Node.js version: 0.4.7"
|
||||
# assertCaptured "Using npm version: 1.0.106"
|
||||
# assertCapturedSuccess
|
||||
# }
|
||||
|
||||
## utils ########################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user