From 18dcc7abf50b84c8841bf5c774345d768f6dbc1d Mon Sep 17 00:00:00 2001 From: Jesse Zoldak Date: Mon, 26 Sep 2016 14:05:25 -0400 Subject: [PATCH] Install pa11ycrawler from pypi --- requirements/edx/base.txt | 1 + requirements/edx/github.txt | 1 - scripts/accessibility-tests.sh | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 47c9487903..98ab9cb3cf 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -160,6 +160,7 @@ nose-exclude nose-ignore-docstring nose-randomly==1.2.0 nosexcover==1.0.7 +pa11ycrawler==1.5.4 pep8==1.5.7 PyContracts==1.7.1 python-subunit==0.0.16 diff --git a/requirements/edx/github.txt b/requirements/edx/github.txt index 280a91f3d0..831f1e09c7 100644 --- a/requirements/edx/github.txt +++ b/requirements/edx/github.txt @@ -69,7 +69,6 @@ git+https://github.com/edx/rfc6266.git@v0.0.5-edx#egg=rfc6266==0.0.5-edx # Used for testing git+https://github.com/edx/lettuce.git@0.2.20.002#egg=lettuce==0.2.20.002 -git+https://github.com/edx/pa11ycrawler.git@1.5.2#egg=pa11ycrawler==1.5.2 # Our libraries: git+https://github.com/edx/XBlock.git@xblock-0.4.12#egg=XBlock==0.4.12 diff --git a/scripts/accessibility-tests.sh b/scripts/accessibility-tests.sh index fbf262aa67..a64f5715d4 100755 --- a/scripts/accessibility-tests.sh +++ b/scripts/accessibility-tests.sh @@ -23,6 +23,9 @@ paver a11y_coverage if [ "$RUN_PA11YCRAWLER" = "1" ] then + # The settings that we use are installed with the pa11ycrawler module + export SCRAPY_SETTINGS_MODULE='pa11ycrawler.settings' + echo "Running pa11ycrawler against test course..." paver pa11ycrawler --fasttest --skip-clean --fetch-course --with-html