diff --git a/openedx/core/lib/xblock_serializer/test_api.py b/openedx/core/lib/xblock_serializer/test_api.py
index 6b2c0dfeb98..8078595b0ea 100644
--- a/openedx/core/lib/xblock_serializer/test_api.py
+++ b/openedx/core/lib/xblock_serializer/test_api.py
@@ -68,112 +68,6 @@
"""
-EXPECTED_OPENASSESSMENT_OLX = """
-
- Open Response Assessment
-
-
-
-
- Replace this text with your own sample response for this assignment. Then, under Response Score to the right, select an option for each criterion. Learners practice performing peer assessments by assessing this response and comparing the options that they select in the rubric with the options that you specified.
-
-
-
-
-
-
- Replace this text with another sample response, and then specify the options that you would select for this response.
-
-
-
-
-
-
-
-
-
-
-
-
- Censorship in the Libraries
-
- 'All of us can think of a book that we hope none of our children or any other children have taken off the shelf. But if I have the right to remove that book from the shelf -- that work I abhor -- then you also have exactly the same right and so does everyone else. And then we have no books left on the shelf for any of us.' --Katherine Paterson, Author
-
- Write a persuasive essay to a newspaper reflecting your views on censorship in libraries. Do you believe that certain materials, such as books, music, movies, magazines, etc., should be removed from the shelves if they are found offensive? Support your position with convincing arguments from your own experience, observations, and/or reading.
-
- Read for conciseness, clarity of thought, and form.
-
-
-
-
-
- Ideas
-
- Determine if there is a unifying theme or main idea.
-
-
-
-
-
- Content
-
- Assess the content of the submission
-
-
-
-
-
-
-(Optional) What aspects of this response stood out to you? What did it do well? How could it be improved?
-
-
-I think that this response...
-
-
-
-"""
-
-
@skip_unless_cms
class XBlockSerializationTestCase(SharedModuleStoreTestCase):
"""
@@ -701,10 +595,11 @@ def test_tagged_openassessment_block(self):
# Check that the tags data is serialized and omitted from the OLX
serialized = api.serialize_xblock_to_olx(openassessment_block)
- self.assertXmlEqual(
- serialized.olx_str,
- EXPECTED_OPENASSESSMENT_OLX
- )
+
+ self.assertNotIn("normal tag", serialized.olx_str)
+ self.assertNotIn(" tag", serialized.olx_str)
+ self.assertNotIn("anotherTag", serialized.olx_str)
+
self.assertEqual(serialized.tags, {
str(openassessment_block.location): {
self.taxonomy1.id: ["normal tag", " tag", "anotherTag"],