From 603950ca65e600cf7836d63cf823c9100f5df874 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Fri, 23 Mar 2012 19:55:37 -0400
Subject: [PATCH] assert not python

---
 bin/detect |  2 +-
 bin/test   | 15 +--------------
 2 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/bin/detect b/bin/detect
index 9dcdd07c..e14b3808 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 ab027e47..91febd59 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 ########################################
 
-- 
GitLab