Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
bd412182
Commit
bd412182
authored
Aug 22, 2013
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
verticals shouldn't have 'data'
parent
21f4b058
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
cms/djangoapps/contentstore/tests/test_contentstore.py
+0
-6
No files found.
cms/djangoapps/contentstore/tests/test_contentstore.py
View file @
bd412182
...
...
@@ -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
]))
...
...
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