Commit f2fc3a14 by David Baumgold Committed by GitHub

Merge pull request #13367 from singingwolfboy/update-pa11ycrawler

Pa11ycrawler 1.5.0
parents de15511f 32e7836b
......@@ -32,8 +32,8 @@
"karma-junit-reporter": "^0.4.1",
"karma-requirejs": "^0.2.6",
"karma-spec-reporter": "^0.0.20",
"pa11y": "3.6.0",
"pa11y-reporter-1.0-json": "1.0.2",
"pa11y": "4.0.1",
"pa11y-reporter-json-oldnode": "1.0.0",
"plato": "1.2.2"
}
}
......@@ -201,6 +201,11 @@ class TestPaverPa11yCrawlerCmd(unittest.TestCase):
suite = Pa11yCrawler(
'pa11ycrawler', course_key="course-v1:edX+Test101+course",
)
ignore = (
"pa11y_ignore_rules_url="
"https://raw.githubusercontent.com/singingwolfboy/"
"pa11ycrawler-ignore/master/ignore.yaml"
)
expected_cmd = [
"scrapy",
"crawl",
......@@ -210,6 +215,8 @@ class TestPaverPa11yCrawlerCmd(unittest.TestCase):
"-a",
"course_key=course-v1:edX+Test101+course",
"-a",
ignore,
"-a",
"data_dir=/edx/app/edxapp/edx-platform/reports/pa11ycrawler/data",
]
actual_cmd = suite.cmd
......
......@@ -395,6 +395,7 @@ class Pa11yCrawler(BokChoyTestSuite):
Runs pa11ycrawler as staff user against the test course.
"""
data_dir = os.path.join(self.report_dir, 'data')
url = "https://raw.githubusercontent.com/singingwolfboy/pa11ycrawler-ignore/master/ignore.yaml"
return [
"scrapy",
"crawl",
......@@ -404,5 +405,7 @@ class Pa11yCrawler(BokChoyTestSuite):
"-a",
"course_key={key}".format(key=self.course_key),
"-a",
"pa11y_ignore_rules_url={url}".format(url=url),
"-a",
"data_dir={dir}".format(dir=data_dir)
]
......@@ -67,7 +67,7 @@ networkx==1.7
nose-xunitmp==0.3.2
oauthlib==1.0.3
paramiko==1.9.0
path.py==7.2
path.py==8.2.1
piexif==1.0.2
Pillow==3.1.1
polib==1.0.3
......
......@@ -69,7 +69,7 @@ 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.3.0#egg=pa11ycrawler==1.3.0
git+https://github.com/edx/pa11ycrawler.git@1.5.0#egg=pa11ycrawler==1.5.0
# Our libraries:
git+https://github.com/edx/XBlock.git@xblock-0.4.12#egg=XBlock==0.4.12
......
......@@ -2,7 +2,7 @@
Paver==1.2.4
psutil==1.2.1
lazy==1.1
path.py==7.2
path.py==8.2.1
watchdog==0.7.1
python-memcached
libsass==0.10.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment