File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,9 @@ test_virtualenvwrapper_verify_workon_home_missing_dir_grep_options() {
84
84
test_python_interpreter_set_incorrectly () {
85
85
return_to=" $( pwd) "
86
86
cd " $WORKON_HOME "
87
- mkvirtualenv no_wrappers
87
+ mkvirtualenv no_wrappers > /dev/null 2>&1
88
+ RC=$?
89
+ assertEquals " 0" " $RC "
88
90
expected=" ImportError: No module named virtualenvwrapper.hook_loader"
89
91
# test_shell is set by tests/run_tests
90
92
if [ " $test_shell " = " " ]
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ tearDown() {
21
21
22
22
test_new_env_activated () {
23
23
mkvirtualenv " source" > /dev/null 2>&1
24
+ RC=$?
25
+ assertEquals " 0" " $RC "
24
26
(cd tests/testpackage && python setup.py install) > /dev/null 2>&1
25
27
cpvirtualenv " source" " destination" > /dev/null 2>&1
26
28
rmvirtualenv " source" > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments