We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8a268 commit 4a675e3Copy full SHA for 4a675e3
tests/test_mkvirtualenv.sh
@@ -28,6 +28,16 @@ test_create() {
28
done
29
}
30
31
+test_create_space_in_name() {
32
+ mkvirtualenv "env with space" >/dev/null 2>&1
33
+ assertTrue "Environment directory was not created" "[ -d \"$WORKON_HOME/env with space\" ]"
34
+ for hook in postactivate predeactivate postdeactivate
35
+ do
36
+ assertTrue "$hook was not created" "[ -f \"$WORKON_HOME/env with space/bin/$hook\" ]"
37
+ assertFalse "$hook is executable" "[ -x \"$WORKON_HOME/env with space/bin/$hook\" ]"
38
+ done
39
+}
40
+
41
test_activates () {
42
mkvirtualenv "env2" >/dev/null 2>&1
43
assertTrue virtualenvwrapper_verify_active_environment
0 commit comments