Commits

Doug Hellmann committed 88216da

quiet some test operations and check for error codes before continuing

Comments (0)

Files changed (2)

 test_python_interpreter_set_incorrectly() {
     return_to="$(pwd)"
     cd "$WORKON_HOME"
-    mkvirtualenv no_wrappers
+    mkvirtualenv no_wrappers >/dev/null 2>&1
+	RC=$?
+	assertEquals "0" "$RC"
     expected="ImportError: No module named virtualenvwrapper.hook_loader"
     # test_shell is set by tests/run_tests
     if [ "$test_shell" = "" ]
 
 test_new_env_activated () {
     mkvirtualenv "source" >/dev/null 2>&1
+	RC=$?
+	assertEquals "0" "$RC"
     (cd tests/testpackage && python setup.py install) >/dev/null 2>&1
     cpvirtualenv "source" "destination" >/dev/null 2>&1
     rmvirtualenv "source" >/dev/null 2>&1