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
d4d30ad8
Commit
d4d30ad8
authored
Jan 24, 2018
by
Eric Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup
parent
cf09838d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
3 deletions
+1
-3
openassessment/xblock/openassessmentblock.py
+0
-1
openassessment/xblock/test/data/serialize.json
+1
-1
openassessment/xblock/xml.py
+0
-1
No files found.
openassessment/xblock/openassessmentblock.py
View file @
d4d30ad8
...
@@ -677,7 +677,6 @@ class OpenAssessmentBlock(MessageMixin,
...
@@ -677,7 +677,6 @@ class OpenAssessmentBlock(MessageMixin,
Inherited by XBlock core.
Inherited by XBlock core.
"""
"""
from
nose.tools
import
set_trace
;
set_trace
()
config
=
parse_from_xml
(
node
)
config
=
parse_from_xml
(
node
)
block
=
runtime
.
construct_xblock_from_class
(
cls
,
keys
)
block
=
runtime
.
construct_xblock_from_class
(
cls
,
keys
)
...
...
openassessment/xblock/test/data/serialize.json
View file @
d4d30ad8
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
}
}
],
],
"expected_xml"
:
[
"expected_xml"
:
[
"<openassessment text_response=
\"
required
\"
group_access=
\"
{
381451918
: [1179773159]}
\"
>"
,
"<openassessment text_response=
\"
required
\"
group_access=
\"
{
"381451918"
: [1179773159]}
\"
>"
,
"<title>Foo</title>"
,
"<title>Foo</title>"
,
"<assessments>"
,
"<assessments>"
,
"<assessment name=
\"
peer-assessment
\"
start=
\"
2014-02-27T09:46:28
\"
due=
\"
2014-03-01T00:00:00
\"
must_grade=
\"
5
\"
must_be_graded_by=
\"
3
\"
/>"
,
"<assessment name=
\"
peer-assessment
\"
start=
\"
2014-02-27T09:46:28
\"
due=
\"
2014-03-01T00:00:00
\"
must_grade=
\"
5
\"
must_be_graded_by=
\"
3
\"
/>"
,
...
...
openassessment/xblock/xml.py
View file @
d4d30ad8
...
@@ -872,7 +872,6 @@ def parse_from_xml(root):
...
@@ -872,7 +872,6 @@ def parse_from_xml(root):
if
'allow_latex'
in
root
.
attrib
:
if
'allow_latex'
in
root
.
attrib
:
allow_latex
=
_parse_boolean
(
unicode
(
root
.
attrib
[
'allow_latex'
]))
allow_latex
=
_parse_boolean
(
unicode
(
root
.
attrib
[
'allow_latex'
]))
from
nose.tools
import
set_trace
;
set_trace
()
group_access
=
{}
group_access
=
{}
if
'group_access'
in
root
.
attrib
:
if
'group_access'
in
root
.
attrib
:
# group_access keys *must* be ints, not strings
# group_access keys *must* be ints, not strings
...
...
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