Commits

Doug Hellmann  committed 04eb339

quiet some test operations and check for error codes before continuing

  • Participants
  • Parent commits 89a2e39

Comments (0)

Files changed (2)

File tests/test.sh

 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" = "" ]

File tests/test_cp.sh

 
 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