File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,12 +32,14 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
3232 echo " ${PLOTLY_CONFIG_DIR} "
3333
3434 # test that it imports when you don't have file permissions
35- chmod 000 ${PLOTLY_CONFIG_DIR} && python -c " import plotly"
35+ chmod 000 ${PLOTLY_CONFIG_DIR} && python -c " import plotly" ||
36+ error_exit " ${LINENO} : permissions test 000 on .plotly dir failed"
3637
3738 # test that setting permissions will work for import (and tests)
38- chmod 660 ${PLOTLY_CONFIG_DIR} && python -c " import plotly"
39+ chmod 666 ${PLOTLY_CONFIG_DIR} && python -c " import plotly" ||
40+ error_exit " ${LINENO} : permissions test 666 on .plotly dir failed"
3941
40- echo " running tests"
42+ echo " running tests for Python ${version} as user ' $( whoami ) ' "
4143 if [ ${version: 0: 3} == ' 2.7' ]
4244 then
4345 nosetests -xv plotly/tests/test_core \
You can’t perform that action at this time.
0 commit comments