File tree 1 file changed +5
-3
lines changed 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,14 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
32
32
echo " ${PLOTLY_CONFIG_DIR} "
33
33
34
34
# 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"
36
37
37
38
# 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"
39
41
40
- echo " running tests"
42
+ echo " running tests for Python ${version} as user ' $( whoami ) ' "
41
43
if [ ${version: 0: 3} == ' 2.7' ]
42
44
then
43
45
nosetests -xv plotly/tests/test_core \
You can’t perform that action at this time.
0 commit comments