Skip to content

Commit e1af130

Browse files
committed
Add back in permissions tests.
1 parent 3fb909a commit e1af130

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

circle.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ test:
2727
# run test suite in all our python versions
2828
- bash circle/test.sh
2929

30-
# # test that it imports when you don't have file permissions
31-
# - sudo chmod 400 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
32-
#
33-
# # test that setting permissions will work for import (and tests)
34-
# - sudo chmod 600 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
30+
# test that it imports when you don't have write permissions
31+
- sudo chmod 444 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
32+
33+
# test that giving back write permissions works again
34+
- sudo chmod 666 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
3535

3636
# test core things in the general 2.7 version that circle has
3737
- nosetests -xv plotly/tests/test_core --with-coverage --cover-package=plotly

0 commit comments

Comments
 (0)