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
370b0d43
Commit
370b0d43
authored
Dec 30, 2015
by
Diana Huang
Committed by
Andy Armstrong
Jan 07, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use analytics helpers to test older functionality.
parent
633fb7dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
openassessment/xblock/test/test_peer.py
+2
-0
openassessment/xblock/test/test_self.py
+2
-0
No files found.
openassessment/xblock/test/test_peer.py
View file @
370b0d43
...
...
@@ -695,6 +695,8 @@ class TestPeerAssessHandler(XBlockHandlerTestCase):
self
.
assertEqual
(
parts
[
1
][
'option'
][
'criterion'
][
'name'
],
u'𝓒𝓸𝓷𝓬𝓲𝓼𝓮'
)
self
.
assertEqual
(
parts
[
1
][
'option'
][
'name'
],
u'ﻉซƈﻉɭɭﻉกՇ'
)
self
.
assert_assessment_event_published
(
xblock
,
'openassessmentblock.peer_assess'
,
assessment
)
@scenario
(
'data/feedback_per_criterion.xml'
,
user_id
=
'Bob'
)
def
test_peer_assess_feedback
(
self
,
xblock
):
# Submit a peer assessment
...
...
openassessment/xblock/test/test_self.py
View file @
370b0d43
...
...
@@ -55,6 +55,8 @@ class TestSelfAssessment(XBlockHandlerTestCase):
self
.
assertEqual
(
parts
[
1
][
'option'
][
'criterion'
][
'name'
],
u'𝓒𝓸𝓷𝓬𝓲𝓼𝓮'
)
self
.
assertEqual
(
parts
[
1
][
'option'
][
'name'
],
u'ﻉซƈﻉɭɭﻉกՇ'
)
self
.
assert_assessment_event_published
(
xblock
,
'openassessmentblock.self_assess'
,
assessment
)
@scenario
(
'data/self_assessment_scenario.xml'
,
user_id
=
'Bob'
)
def
test_self_assess_no_submission
(
self
,
xblock
):
# Submit a self-assessment without first creating a submission
...
...
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