Skip to content

Commit 144f0a3

Browse files
committed
quiet some of the lsvirtualenv tests
Change-Id: I913e28f14e1c85308b1849056230495682508fc0
1 parent 5326298 commit 144f0a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_ls.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ test_lsvirtualenv_space_in_workon_home () {
7777
old_home="$WORKON_HOME"
7878
export WORKON_HOME="$WORKON_HOME/with space"
7979
mkdir "$WORKON_HOME"
80-
(cd "$WORKON_HOME"; virtualenv testenv) 2>&1
80+
(cd "$WORKON_HOME"; virtualenv testenv) >/dev/null 2>&1
8181
lsvirtualenv -b >"$old_home/output"
8282
output=$(cat "$old_home/output")
8383
assertTrue "Did not see expected message in \"$output\"" "echo $output | grep -q 'testenv'"
@@ -87,7 +87,7 @@ test_lsvirtualenv_space_in_workon_home () {
8787
test_lsvirtualenv_space_in_env_name () {
8888
# Only test with leading and internal spaces. Directory names with trailing spaces are legal,
8989
# and work with virtualenv on OSX, but error out on Linux.
90-
mkvirtualenv " env with space"
90+
mkvirtualenv " env with space" >/dev/null 2>&1
9191
lsvirtualenv -b >"$WORKON_HOME/output" 2>&1
9292
assertTrue "Did not see expected message in \"$output\"" "cat \"$WORKON_HOME/output\" | grep -q ' env with space'"
9393
}

0 commit comments

Comments
 (0)