Commits

Doug Hellmann committed 669f890

improve test for mktmpenv with options; addresses #114

Comments (0)

Files changed (1)

tests/test_mktmpenv.sh

 
 test_mktmpenv_virtualenv_args() {
     mktmpenv --no-site-packages >/dev/null 2>&1
-    RC=$?
-    assertTrue "Error was detected" "[ $RC -eq 0 ]"
+    ngsp_file="`virtualenvwrapper_get_site_packages_dir`/../no-global-site-packages.txt"
+    assertTrue "$ngsp_file does not exist" "[ -f \"$ngsp_file\" ]"
 }
 
 test_deactivate() {