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
ead18f9f
Commit
ead18f9f
authored
Apr 26, 2013
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undo the unit test, as per Jeh, the tests really aren't supposed to run the CMS with 'draft
awareness'
parent
f6417b4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
cms/djangoapps/contentstore/tests/test_contentstore.py
+0
-20
No files found.
cms/djangoapps/contentstore/tests/test_contentstore.py
View file @
ead18f9f
...
...
@@ -274,17 +274,6 @@ class ContentStoreToyCourseTest(ModuleStoreTestCase):
# make sure the parent points to the child object which is to be deleted
self
.
assertTrue
(
sequential
.
location
.
url
()
in
chapter
.
children
)
# get a vertical (and components in it) to put into 'draft'
vertical
=
direct_store
.
get_item
(
Location
([
'i4x'
,
'edX'
,
'full'
,
'vertical'
,
'vertical_66'
,
None
]))
private_item_location
=
vertical
.
location
.
_replace
(
name
=
'private_vertical'
)
draft_store
.
clone_item
(
vertical
.
location
,
private_item_location
)
direct_store
.
update_children
(
sequential
.
location
,
sequential
.
children
+
[
private_item_location
.
url
()])
self
.
client
.
post
(
reverse
(
'delete_item'
),
json
.
dumps
({
'id'
:
sequential
.
location
.
url
(),
'delete_children'
:
'true'
,
'delete_all_versions'
:
'true'
}),
...
...
@@ -305,15 +294,6 @@ class ContentStoreToyCourseTest(ModuleStoreTestCase):
# make sure the parent no longer points to the child object which was deleted
self
.
assertFalse
(
sequential
.
location
.
url
()
in
chapter
.
children
)
# make sure we can't look up the private vertical
found_private
=
False
try
:
draft_store
.
get_item
(
private_item_location
)
found_private
=
True
except
ItemNotFoundError
:
pass
self
.
assertFalse
(
found_private
)
def
test_about_overrides
(
self
):
'''
...
...
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