Commits

Doug Hellmann  committed 73b8455

use packages that can be installed under python 3 to test the -i option to mkvirtualenv

  • Participants
  • Parent commits 5730604

Comments (0)

Files changed (1)

File tests/test_mkvirtualenv_install.sh

 }
 
 test_single_package () {
-    mkvirtualenv -i commandlineapp "env4" >/dev/null 2>&1
+    mkvirtualenv -i IPy "env4"
     installed=$(pip freeze)
-    assertTrue "CommandLineApp not found in $installed" "echo $installed | grep CommandLineApp"
+    assertTrue "IPy not found in $installed" "pip freeze | grep IPy"
 }
 
 test_multiple_packages () {
-    mkvirtualenv -i commandlineapp -i csvcat "env4" >/dev/null 2>&1
+    mkvirtualenv -i IPy -i WebTest "env5"
     installed=$(pip freeze)
-    assertTrue "CommandLineApp not found in $installed" "echo $installed | grep CommandLineApp"
-    assertTrue "csvcat not found in $installed" "echo $installed | grep csvcat"
+    assertTrue "IPy not found in $installed" "pip freeze | grep IPy"
+    assertTrue "WebTest not found in $installed" "pip freeze | grep WebTest"
 }
 
 . "$test_dir/shunit2"