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
121922a3
Commit
121922a3
authored
Jul 31, 2014
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rebase issue.
parent
a63cc0b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
27 deletions
+0
-27
cms/static/coffee/spec/main.coffee
+0
-1
common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py
+0
-26
No files found.
cms/static/coffee/spec/main.coffee
View file @
121922a3
...
...
@@ -212,7 +212,6 @@ define([
"js/spec/models/component_template_spec"
,
"js/spec/models/explicit_url_spec"
,
"js/spec/models/group_configuration_spec"
,
"js/spec/models/xblock_info_spec"
,
"js/spec/utils/drag_and_drop_spec"
,
...
...
common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py
View file @
121922a3
...
...
@@ -530,32 +530,6 @@ class TestMixedModuleStore(unittest.TestCase):
self
.
assertIn
(
self
.
course_locations
[
self
.
XML_COURSEID1
],
course_ids
)
self
.
assertIn
(
self
.
course_locations
[
self
.
XML_COURSEID2
],
course_ids
)
@ddt.data
(
'draft'
)
def
test_has_changes_draft_mongo
(
self
,
default_ms
):
"""
Smoke test for has_changes with draft mongo modulestore.
Tests already exist for both split and draft in their own test files.
"""
self
.
initdb
(
default_ms
)
item
=
self
.
store
.
create_item
(
self
.
user_id
,
self
.
course_locations
[
self
.
MONGO_COURSEID
]
.
course_key
,
'problem'
,
block_id
=
'orphan'
)
self
.
assertTrue
(
self
.
store
.
has_changes
(
item
.
location
))
self
.
store
.
publish
(
item
.
location
,
self
.
user_id
)
self
.
assertFalse
(
self
.
store
.
has_changes
(
item
.
location
))
@ddt.data
(
'split'
)
def
test_has_changes_split
(
self
,
default_ms
):
"""
Smoke test for has_changes with split modulestore.
Tests already exist for both split and draft in their own test files.
"""
self
.
initdb
(
default_ms
)
self
.
assertTrue
(
self
.
store
.
has_changes
(
self
.
writable_chapter_location
))
# split modulestore's "publish" method is currently called "xblock_publish"
def
test_xml_get_courses
(
self
):
"""
Test that the xml modulestore only loaded the courses from the maps.
...
...
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