File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 1919- Updated test configuration so they work properly under Linux.
2020- Resolve relative paths before storing the project directory
2121 reference in :ref: `command-setvirtualenvproject `. (:bbissue: `207 `)
22+ - Do not create hooks for commands that don't exist. (:bbissue: `203 `)
2223
23244.1.1
2425=====
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ setUp () {
2222
2323test_initialize () {
2424 source " $test_dir /../virtualenvwrapper.sh"
25- for hook in premkproject postmkproject prermproject postrmproject
25+ for hook in premkproject postmkproject
2626 do
2727 assertTrue " Global $hook was not created" " [ -f $WORKON_HOME /$hook ]"
2828 assertTrue " Global $hook is not executable" " [ -x $WORKON_HOME /$hook ]"
@@ -33,7 +33,7 @@ test_initialize_hook_dir() {
3333 export VIRTUALENVWRAPPER_HOOK_DIR=" $WORKON_HOME /hooks"
3434 mkdir -p " $VIRTUALENVWRAPPER_HOOK_DIR "
3535 source " $test_dir /../virtualenvwrapper.sh"
36- for hook in premkproject postmkproject prermproject postrmproject
36+ for hook in premkproject postmkproject
3737 do
3838 assertTrue " Global $hook was not created" " [ -f $VIRTUALENVWRAPPER_HOOK_DIR /$hook ]"
3939 assertTrue " Global $hook is not executable" " [ -x $VIRTUALENVWRAPPER_HOOK_DIR /$hook ]"
Original file line number Diff line number Diff line change 1919 "and before it is activated." ),
2020 ("postmkproject" ,
2121 "This hook is run after a new project is activated." ),
22-
23- # rmproject
24- ("prermproject" ,
25- "This hook is run before a project is deleted." ),
26- ("postrmproject" ,
27- "This hook is run after a project is deleted." ),
2822]
2923
3024
You can’t perform that action at this time.
0 commit comments