Skip to content

Commit 04a2c3d

Browse files
committed
remove the test for making virtualenvs relocatable
The --relocatable flag was removed from virtualenv, so there is no need to test that mode any more.
1 parent 655878f commit 04a2c3d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/test_cp.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,6 @@ test_virtualenvwrapper_virtualenv_clone_variable () {
9898
assertTrue "VIRTUALENVWRAPPER_CLONE did not clone fake file" "[ -f $WORKON_HOME/destination/fake_virtualenv_clone_was_here ]"
9999
}
100100

101-
test_source_relocatable () {
102-
mkvirtualenv "source" >/dev/null 2>&1
103-
(cd tests/testpackage && python setup.py install) >/dev/null 2>&1
104-
assertTrue "virtualenv --relocatable \"$WORKON_HOME/source\""
105-
cpvirtualenv "source" "destination" >/dev/null 2>&1
106-
testscript="$(which testscript.py)"
107-
assertTrue "Environment test script not the same as copy" "[ $WORKON_HOME/destination/bin/testscript.py -ef $testscript ]"
108-
assertTrue virtualenvwrapper_verify_active_environment
109-
assertSame "Wrong virtualenv name" "destination" $(basename "$VIRTUAL_ENV")
110-
}
111-
112101
test_source_does_not_exist () {
113102
assertSame "Please provide a valid virtualenv to copy." "$(cpvirtualenv virtualenvthatdoesntexist foo)"
114103
}

0 commit comments

Comments
 (0)