Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
0057feae
Commit
0057feae
authored
Sep 29, 2015
by
Muzaffar yousaf
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #726 from edx/muzaffar/fixup-a11y-tests
Fixing up ORA2 a11y tests.
parents
26c8622a
abb36e60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
test/acceptance/accessibility.py
+1
-2
No files found.
test/acceptance/accessibility.py
View file @
0057feae
...
@@ -24,7 +24,7 @@ class OpenAssessmentAxsTest(OpenAssessmentTest):
...
@@ -24,7 +24,7 @@ class OpenAssessmentAxsTest(OpenAssessmentTest):
self
.
assertEqual
(
0
,
len
(
result
.
errors
))
self
.
assertEqual
(
0
,
len
(
result
.
errors
))
# Verify that this page currently has 2 accessibility warnings.
# Verify that this page currently has 2 accessibility warnings.
self
.
assertEqual
(
3
,
len
(
result
.
warnings
))
self
.
assertEqual
(
2
,
len
(
result
.
warnings
))
# And that these are the warnings that the page currently gives.
# And that these are the warnings that the page currently gives.
for
warning
in
result
.
warnings
:
for
warning
in
result
.
warnings
:
...
@@ -32,7 +32,6 @@ class OpenAssessmentAxsTest(OpenAssessmentTest):
...
@@ -32,7 +32,6 @@ class OpenAssessmentAxsTest(OpenAssessmentTest):
warning
.
startswith
((
warning
.
startswith
((
'Warning: AX_FOCUS_01'
,
'Warning: AX_FOCUS_01'
,
'Warning: AX_COLOR_01'
,
'Warning: AX_COLOR_01'
,
'Warning: AX_IMAGE_01'
,
)),
)),
msg
=
"Unexpected warning: {}"
.
format
(
warning
))
msg
=
"Unexpected warning: {}"
.
format
(
warning
))
...
...
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