Commit d4d30ad8 by Eric Fischer

fixup

parent cf09838d
...@@ -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)
......
...@@ -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=\"{&quot;381451918&quot;: [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\" />",
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment