We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 719b251 commit 284325cCopy full SHA for 284325c
1 file changed
tests/test_cp.sh
@@ -110,5 +110,13 @@ GLOBAL postcpvirtualenv"
110
rm -f "$WORKON_HOME/postmkvirtualenv"
111
}
112
113
+test_no_site_packages () {
114
+ # See issue #102
115
+ mkvirtualenv "source" --no-site-packages
116
+ cpvirtualenv "source" "destination"
117
+ ngsp_file="`virtualenvwrapper_get_site_packages_dir`/../no-global-site-packages.txt"
118
+ assertTrue "$ngsp_file does not exist in copied env" "[ -f \"$ngsp_file\" ]"
119
+}
120
+
121
. "$test_dir/shunit2"
122
0 commit comments