Commit 67b72a92 by cahrens

Merge remote-tracking branch 'origin/feature/cas/speed-editor' into feature/cas/speed-editor

parents 5daa6e7b b8f530e8
...@@ -458,5 +458,6 @@ class ContentStoreTest(TestCase): ...@@ -458,5 +458,6 @@ class ContentStoreTest(TestCase):
# should be a CapaDescriptor # should be a CapaDescriptor
self.assertIsInstance(problem, CapaDescriptor, "New problem is not a CapaDescriptor") self.assertIsInstance(problem, CapaDescriptor, "New problem is not a CapaDescriptor")
context = problem.get_context() context = problem.get_context()
self.assertIn('markdown', context, "markdown is missing") self.assertIn('markdown', context, "markdown is missing from context")
self.assertIn('markdown', problem.metadata, "markdown is missing from metadata")
self.assertNotIn('markdown', problem.editable_metadata_fields, "Markdown slipped into the editable metadata fields") self.assertNotIn('markdown', problem.editable_metadata_fields, "Markdown slipped into the editable metadata fields")
\ No newline at end of file
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