Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
7f60fa5e
Commit
7f60fa5e
authored
Aug 15, 2016
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make data-dir explicit for pa11ycrawler
parent
18500472
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
pavelib/paver_tests/test_paver_bok_choy_cmds.py
+2
-0
pavelib/utils/test/suites/bokchoy_suite.py
+3
-0
No files found.
pavelib/paver_tests/test_paver_bok_choy_cmds.py
View file @
7f60fa5e
...
...
@@ -209,6 +209,8 @@ class TestPaverPa11yCrawlerCmd(unittest.TestCase):
"port=8003"
,
"-a"
,
"course_key=course-v1:edX+Test101+course"
,
"-a"
,
"data_dir=/edx/app/edxapp/edx-platform/reports/pa11ycrawler/data"
,
]
self
.
assertEqual
(
suite
.
cmd
,
expected_cmd
)
...
...
pavelib/utils/test/suites/bokchoy_suite.py
View file @
7f60fa5e
...
...
@@ -394,6 +394,7 @@ class Pa11yCrawler(BokChoyTestSuite):
"""
Runs pa11ycrawler as staff user against the test course.
"""
data_dir
=
os
.
path
.
join
(
self
.
report_dir
,
'data'
)
return
[
"scrapy"
,
"crawl"
,
...
...
@@ -402,4 +403,6 @@ class Pa11yCrawler(BokChoyTestSuite):
"port=8003"
,
"-a"
,
"course_key={key}"
.
format
(
key
=
self
.
course_key
),
"-a"
,
"data_dir={dir}"
.
format
(
dir
=
data_dir
)
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment