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
5332d459
Commit
5332d459
authored
Mar 08, 2016
by
Eric Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Acceptance test fix
parent
682a0ab6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/acceptance/tests.py
+3
-3
No files found.
test/acceptance/tests.py
View file @
5332d459
...
@@ -82,7 +82,7 @@ class OpenAssessmentTest(WebAppTest):
...
@@ -82,7 +82,7 @@ class OpenAssessmentTest(WebAppTest):
OPTIONS_SELECTED
=
[
1
,
2
]
OPTIONS_SELECTED
=
[
1
,
2
]
STAFF_OVERRIDE_OPTIONS_SELECTED
=
[
0
,
1
]
STAFF_OVERRIDE_OPTIONS_SELECTED
=
[
0
,
1
]
STAFF_OVERRIDE_SCORE
=
1
STAFF_OVERRIDE_SCORE
=
1
STAFF_GRADE_EXISTS
=
"C
omplete
"
STAFF_GRADE_EXISTS
=
"C
OMPLETE
"
STAFF_OVERRIDE_LEARNER_STEPS_NOT_COMPLETE
=
"You Must Complete the Steps Above to View Your Grade"
STAFF_OVERRIDE_LEARNER_STEPS_NOT_COMPLETE
=
"You Must Complete the Steps Above to View Your Grade"
STAFF_AREA_SCORE
=
"Final grade: {} out of 8"
STAFF_AREA_SCORE
=
"Final grade: {} out of 8"
STAFF_OVERRIDE_STAFF_AREA_NOT_COMPLETE
=
"The problem has not been completed."
STAFF_OVERRIDE_STAFF_AREA_NOT_COMPLETE
=
"The problem has not been completed."
...
@@ -323,14 +323,14 @@ class StaffAssessmentTest(OpenAssessmentTest):
...
@@ -323,14 +323,14 @@ class StaffAssessmentTest(OpenAssessmentTest):
self
.
submission_page
.
visit
()
self
.
submission_page
.
visit
()
# Verify that staff grade step is shown initially
# Verify that staff grade step is shown initially
self
.
_verify_staff_grade_section
(
"N
ot Available
"
,
None
)
self
.
_verify_staff_grade_section
(
"N
OT AVAILABLE
"
,
None
)
# User submits a response
# User submits a response
self
.
submission_page
.
submit_response
(
self
.
SUBMISSION
)
self
.
submission_page
.
submit_response
(
self
.
SUBMISSION
)
self
.
assertTrue
(
self
.
submission_page
.
has_submitted
)
self
.
assertTrue
(
self
.
submission_page
.
has_submitted
)
# Verify staff grade section appears as expected
# Verify staff grade section appears as expected
self
.
_verify_staff_grade_section
(
"N
ot Available
"
,
"Waiting for a Staff Grade"
)
self
.
_verify_staff_grade_section
(
"N
OT AVAILABLE
"
,
"Waiting for a Staff Grade"
)
# Perform staff assessment
# Perform staff assessment
self
.
staff_area_page
=
StaffAreaPage
(
self
.
browser
,
self
.
problem_loc
)
self
.
staff_area_page
=
StaffAreaPage
(
self
.
browser
,
self
.
problem_loc
)
...
...
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