From bd412182c77f50af647e3e3393ff9f381d38138c Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Thu, 22 Aug 2013 12:01:17 -0400 Subject: [PATCH] verticals shouldn't have 'data' --- cms/djangoapps/contentstore/tests/test_contentstore.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cms/djangoapps/contentstore/tests/test_contentstore.py b/cms/djangoapps/contentstore/tests/test_contentstore.py index 1cadcd69bf..e909fa7c5c 100644 --- a/cms/djangoapps/contentstore/tests/test_contentstore.py +++ b/cms/djangoapps/contentstore/tests/test_contentstore.py @@ -946,11 +946,7 @@ class ContentStoreToyCourseTest(ModuleStoreTestCase): self.assertTrue(getattr(vertical, 'is_draft', False)) self.assertNotIn('index_in_children_list', child.xml_attributes) - if hasattr(vertical, 'data'): - self.assertNotIn('index_in_children_list', vertical.data) self.assertNotIn('parent_sequential_url', vertical.xml_attributes) - if hasattr(vertical, 'data'): - self.assertNotIn('parent_sequential_url', vertical.data) for child in vertical.get_children(): self.assertTrue(getattr(child, 'is_draft', False)) @@ -961,8 +957,6 @@ class ContentStoreToyCourseTest(ModuleStoreTestCase): if hasattr(child, 'data'): self.assertNotIn('parent_sequential_url', child.data) - - # make sure that we don't have a sequential that is in draft mode sequential = draft_store.get_item(Location(['i4x', 'edX', 'toy', 'sequential', 'vertical_sequential', None]))