Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fda8c1d

Browse files
committed
add back chmod on .plotly dir
1 parent 9b32b8c commit fda8c1d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

circle/test.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
2828
python -c 'import plotly' ||
2929
error_exit "${LINENO}: can't import plotly package"
3030

31-
# # test that it imports when you don't have file permissions
32-
# chmod 000 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
33-
#
34-
# # test that setting permissions will work for import (and tests)
35-
# chmod 660 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
31+
echo "${HOME}"
32+
echo "${PLOTLY_CONFIG_DIR}"
33+
34+
# test that it imports when you don't have file permissions
35+
chmod 000 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
36+
37+
# test that setting permissions will work for import (and tests)
38+
chmod 660 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
3639

3740
echo "running tests"
3841
if [ ${version:0:3} == '2.7' ]

0 commit comments

Comments
 (0)