diff --git a/bin/detect b/bin/detect index 9dcdd07cc364f8faaf11f88daff1199b3bd50002..e14b3808682fd9ed778898bc7c19c9c17180f122 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 ab027e47688d22eba0e97d11276b310d1a30c858..91febd5937d2e77a5e9cd230f190c46513a5a76b 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 ########################################