Skip to content

Commit de6eaec

Browse files
committed
use packages that can be installed under python 3 to test the -i option to mkvirtualenv
1 parent 2aa7970 commit de6eaec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_mkvirtualenv_install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ setUp () {
2323
}
2424

2525
test_single_package () {
26-
mkvirtualenv -i commandlineapp "env4" >/dev/null 2>&1
26+
mkvirtualenv -i IPy "env4"
2727
installed=$(pip freeze)
28-
assertTrue "CommandLineApp not found in $installed" "echo $installed | grep CommandLineApp"
28+
assertTrue "IPy not found in $installed" "pip freeze | grep IPy"
2929
}
3030

3131
test_multiple_packages () {
32-
mkvirtualenv -i commandlineapp -i csvcat "env4" >/dev/null 2>&1
32+
mkvirtualenv -i IPy -i WebTest "env5"
3333
installed=$(pip freeze)
34-
assertTrue "CommandLineApp not found in $installed" "echo $installed | grep CommandLineApp"
35-
assertTrue "csvcat not found in $installed" "echo $installed | grep csvcat"
34+
assertTrue "IPy not found in $installed" "pip freeze | grep IPy"
35+
assertTrue "WebTest not found in $installed" "pip freeze | grep WebTest"
3636
}
3737

3838
. "$test_dir/shunit2"

0 commit comments

Comments
 (0)