Skip to content

Commit

Permalink
add explicit check for virtualenv in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
dhellmann committed Mar 31, 2010
1 parent aaf59c5 commit 27f3b4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_mkvirtualenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ GLOBAL postmkvirtualenv"
test_no_virtualenv () {
old_path="$PATH"
PATH="/usr/bin:/bin:/usr/sbin:/sbin"
assertFalse "Found virtualenv in $(which virtualenv)" "which virtualenv"
mkvirtualenv should_not_be_created 2>/dev/null
RC=$?
# Restore the path before testing because
Expand Down

0 comments on commit 27f3b4c

Please sign in to comment.