diff --git a/bin/detect b/bin/detect index 9dcdd07..e14b380 100755 --- a/bin/detect +++ b/bin/detect @@ -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 \ No newline at end of file diff --git a/bin/test b/bin/test index ab027e4..91febd5 100755 --- a/bin/test +++ b/bin/test @@ -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 ########################################