Home
last modified time | relevance | path

Searched refs:WORKON_HOME (Results 1 – 25 of 61) sorted by relevance

123

/dports/devel/py-virtualenvwrapper/virtualenvwrapper-4.8.4/tests/
H A Dtest.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
13 rm -rf "$WORKON_HOME"
45 before="$WORKON_HOME"
46 export WORKON_HOME="$WORKON_HOME/this has spaces"
47 expected="$WORKON_HOME"
61 old_home="$WORKON_HOME"
62 WORKON_HOME="$WORKON_HOME/not_there"
72 WORKON_HOME="$WORKON_HOME/not_there_quiet"
81 WORKON_HOME="$WORKON_HOME/not_there"
[all …]
H A Dtest_workon.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
19 rm -rf "$WORKON_HOME"
103 mkdir "$WORKON_HOME/not_env"
108 rmdir "$WORKON_HOME/not_env"
113 mkdir "$WORKON_HOME/not_env"
142 old_home="$WORKON_HOME"
151 old_home="$WORKON_HOME"
152 export WORKON_HOME="$WORKON_HOME/not_there"
156 WORKON_HOME="$old_home"
[all …]
H A Dtest_mkvirtualenv.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
13 rm -rf "$WORKON_HOME"
64 rm -f "$WORKON_HOME/premkvirtualenv"
65 rm -f "$WORKON_HOME/postmkvirtualenv"
98 old_home="$WORKON_HOME"
99 export WORKON_HOME="$WORKON_HOME/not_there"
104 WORKON_HOME="$old_home"
138 rm -f "$WORKON_HOME/premkvirtualenv"
168 rm -f "$WORKON_HOME/premkvirtualenv"
[all …]
H A Dtest_cpvirtualenv.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
18 rm -rf "$WORKON_HOME"
37 assertTrue "Copied virtualenv already exists" "[ ! -d $WORKON_HOME/copied_venv ]"
39 touch "$WORKON_HOME/cpvenv_test/mytestpackage"
47 assertTrue "Copied virtualenv doesn't exist" "[ -d $WORKON_HOME/copied_venv ]"
64 assertTrue "Copied virtualenv doesn't exist" "[ -d $WORKON_HOME/copied_venv ]"
90 typeset tmplocation=$(dirname $WORKON_HOME)
113 typeset tmplocation=$(dirname $WORKON_HOME)
138 typeset tmplocation=$(dirname $WORKON_HOME)
[all …]
H A Dtest_rmvirtualenv.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
13 rm -rf "$WORKON_HOME"
25 assertTrue "[ -d $WORKON_HOME/deleteme ]"
27 assertFalse "[ -d $WORKON_HOME/deleteme ]"
37 assertTrue "[ -d $WORKON_HOME/deleteme ]"
40 assertFalse "[ -d $WORKON_HOME/deleteme ]"
51 assertSame "$WORKON_HOME" "$(pwd)"
67 old_home="$WORKON_HOME"
68 export WORKON_HOME="$WORKON_HOME/not_there"
[all …]
H A Dtest_run_hook.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
13 rm -rf "$WORKON_HOME"
18 rm -f "$WORKON_HOME/initialize"
19 rm -f "$WORKON_HOME/prermvirtualenv"
25 chmod +x "$WORKON_HOME/initialize"
33 mkdir "$WORKON_HOME/hooks"
36 chmod +x "$WORKON_HOME/initialize"
37 chmod +x "$WORKON_HOME/hooks/initialize"
43 VIRTUALENVWRAPPER_HOOK_DIR="$WORKON_HOME"
[all …]
H A Dtest_ls.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
13 rm -rf "$WORKON_HOME"
57 old_home="$WORKON_HOME"
58 export WORKON_HOME="$WORKON_HOME/not_there"
59 rm -rf "$WORKON_HOME"
63 WORKON_HOME="$old_home"
68 export WORKON_HOME="$WORKON_HOME/not_there"
69 rm -rf "$WORKON_HOME"
78 export WORKON_HOME="$WORKON_HOME/with space"
[all …]
H A Dtest_cp.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
19 rm -rf "$WORKON_HOME"
40 assertTrue "$WORKON_HOME not in $VIRTUAL_ENV" "echo $VIRTUAL_ENV | grep -q $WORKON_HOME"
49 assertTrue "$WORKON_HOME not in $VIRTUAL_ENV" "echo $VIRTUAL_ENV | grep -q $WORKON_HOME"
120 echo "#!/bin/sh" > "$WORKON_HOME/premkvirtualenv"
122 chmod +x "$WORKON_HOME/premkvirtualenv"
129 chmod +x "$WORKON_HOME/precpvirtualenv"
138 workon_home_as_pwd=$(cd $WORKON_HOME; pwd)
147 rm -f "$WORKON_HOME/premkvirtualenv"
[all …]
H A Dtest_mkvirtualenv_associate.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
13 rm -rf "$WORKON_HOME"
22 cd "$WORKON_HOME"
27 project="$WORKON_HOME/project$n"
30 ptrfile="$WORKON_HOME/$env/.project"
41 ptrfile="$WORKON_HOME/$env/.project"
46 "$WORKON_HOME/$project" \
55 ptrfile="$WORKON_HOME/$env/.project"
112 cd "$WORKON_HOME"
[all …]
H A Dtest_hook_dir.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
9 mkdir -p "$WORKON_HOME/hooks"
13 rm -rf "$WORKON_HOME"
18 rm -f "$WORKON_HOME/hooks/*"
25 export VIRTUALENVWRAPPER_HOOK_DIR="$WORKON_HOME/hooks"
29 assertTrue "Global $WORKON_HOME/$hook was not created" "[ -f $WORKON_HOME/hooks/$hook ]"
30 assertFalse "Global $WORKON_HOME/$hook is executable" "[ -x $WORKON_HOME/hooks/$hook ]"
34 assertTrue "Global $WORKON_HOME/$hook was not created" "[ -f $WORKON_HOME/hooks/$hook ]"
35 assertTrue "Global $WORKON_HOME/$hook is executable" "[ -x $WORKON_HOME/hooks/$hook ]"
H A Dtest_setvirtualenvproject.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
15 rm -rf "$WORKON_HOME"
25 project="$WORKON_HOME/project$n"
28 ptrfile="$WORKON_HOME/$env/.project"
36 cd "$WORKON_HOME"
41 ptrfile="$WORKON_HOME/$env/.project"
47 "$WORKON_HOME/$project" \
52 cd "$WORKON_HOME"
76 cd "$WORKON_HOME"
[all …]
H A Dtest_cd.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
16 rm -rf "$WORKON_HOME"
61 old_home="$WORKON_HOME"
62 export WORKON_HOME="$WORKON_HOME/not_there"
66 WORKON_HOME="$old_home"
71 old_home="$WORKON_HOME"
72 virtualenvwrapper_cd "$WORKON_HOME"
73 export WORKON_HOME="$WORKON_HOME/not_there"
76 WORKON_HOME="$old_home"
H A Dtest_derive_workon_home.sh5 TMP_WORKON_HOME="$WORKON_HOME"
20 WORKON_HOME="$TMP_WORKON_HOME"
24 unset WORKON_HOME
29 WORKON_HOME="$WORKON_HOME/../$(basename $WORKON_HOME)"
30 assertSame "$WORKON_HOME" "$(virtualenvwrapper_derive_workon_home)"
34 WORKON_HOME=".test-virtualenvs"
39 WORKON_HOME="~/.test-virtualenvs"
H A Dtest_deactivate.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
14 rm -rf "$WORKON_HOME"
35 …ivate \$VIRTUALENVWRAPPER_LAST_VIRTUAL_ENV >> $TMPDIR/catch_output" > "$WORKON_HOME/${t}deactivate"
36 …vate \$VIRTUALENVWRAPPER_LAST_VIRTUAL_ENV >> $TMPDIR/catch_output" > "$WORKON_HOME/env1/bin/${t}de…
46 ENV postdeactivate $WORKON_HOME/env1
47 GLOBAL postdeactivate $WORKON_HOME/env1"
52 rm -f "$WORKON_HOME/env1/bin/${t}activate"
53 rm -f "$WORKON_HOME/${t}activate"
H A Dtest_dir_stack.sh15 rm -rf "$WORKON_HOME"
16 mkdir -p "$WORKON_HOME"
18 mkdir "$WORKON_HOME/start_here"
19 mkdir "$WORKON_HOME/on_the_stack"
28 rm -rf "$WORKON_HOME"
35 cd "$WORKON_HOME/start_here"
36 pushd "$WORKON_HOME/on_the_stack"
45 assertSame "$WORKON_HOME/start_here" "$current_dir"
H A Dtest_project.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
14 rm -rf "$WORKON_HOME"
27 assertTrue "Global $hook was not created" "[ -f $WORKON_HOME/$hook ]"
28 assertTrue "Global $hook is not executable" "[ -x $WORKON_HOME/$hook ]"
33 export VIRTUALENVWRAPPER_HOOK_DIR="$WORKON_HOME/hooks"
41 VIRTUALENVWRAPPER_HOOK_DIR="$WORKON_HOME"
H A Dtest_project_mk.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
11 export VIRTUALENVWRAPPER_HOOK_DIR="$WORKON_HOME/hooks"
16 rm -rf "$WORKON_HOME"
31 assertTrue "env directory not created" "[ -d $WORKON_HOME/myproject1 ]"
50 expected="GLOBAL premkproject $WORKON_HOME myproject3
76 export PROJECT_HOME="$WORKON_HOME"
78 assertTrue "env directory not created" "[ -d $WORKON_HOME/myproject1 ]"
H A Dmanual_test_install.sh9 export WORKON_HOME="${TMPDIR:-/tmp}/WORKON_HOME"
14 rm -rf "$WORKON_HOME"
15 mkdir -p "$WORKON_HOME"
19 rm -rf "$WORKON_HOME"
37 assertTrue "Missing wrapper script" "[ -f $WORKON_HOME/installtest/bin/virtualenvwrapper.sh ]"
H A Dtest_cd_space_in_name.sh7 export WORKON_HOME="$WORKON_HOME/ this has spaces"
8 rm -rf "$WORKON_HOME"
9 mkdir -p "$WORKON_HOME"
19 rm -rf "$WORKON_HOME"
H A Dtest_lazy_run.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
9 (cd "$WORKON_HOME" && virtualenv lazy_load_test >/dev/null 2>&1)
14 rm -rf "$WORKON_HOME"
H A Dtest_project_cd.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
15 rm -rf "$WORKON_HOME"
47 cd "$WORKON_HOME"
H A Dtest_mktmpenv.sh8 rm -rf "$WORKON_HOME"
9 mkdir -p "$WORKON_HOME"
14 rm -rf "$WORKON_HOME"
56 assertFalse "Environment still exists" "[ -d \"$WORKON_HOME/$env_name\" ]"
H A Dtest_add2virtualenv.sh7 rm -rf "$WORKON_HOME"
8 mkdir -p "$WORKON_HOME"
13 rm -rf "$WORKON_HOME"
31 actual=$($WORKON_HOME/pathtest/bin/python -c "import sys; sys.stdout.write(sys.path[1]+'\n')")
69 …actual=$($WORKON_HOME/pathtest_noclobber/bin/python -c "import sys; sys.stdout.write(sys.path[1]+'…
H A Dtest_virtualenvwrapper.sh9 rm -rf "$WORKON_HOME"
10 mkdir -p "$WORKON_HOME"
14 rm -rf "$WORKON_HOME"
/dports/devel/py-virtualenvwrapper/virtualenvwrapper-4.8.4/
H A Dvirtualenvwrapper.sh141 typeset workon_home_dir="$WORKON_HOME"
154 workon_home_dir="$HOME/$WORKON_HOME"
180 if [ ! -d "$WORKON_HOME/" ]
186 mkdir -p "$WORKON_HOME"
351 if [ ! -d "$WORKON_HOME/$env_name" ]
478 [ -d "$WORKON_HOME/$envname" ] && \
544 virtualenvwrapper_cd "$WORKON_HOME"
976 src="$WORKON_HOME/$src_name"
983 trg="$WORKON_HOME/$src_name"
986 trg="$WORKON_HOME/$trg_name"
[all …]

123