Add bulk operations to split modulestore
This commit is contained in:
@@ -287,9 +287,9 @@ class CourseComparisonTest(unittest.TestCase):
|
||||
self.assertEqual(expected_item.has_children, actual_item.has_children)
|
||||
if expected_item.has_children:
|
||||
expected_children = [
|
||||
(course1_item_child.location.block_type, course1_item_child.location.block_id)
|
||||
(expected_item_child.location.block_type, expected_item_child.location.block_id)
|
||||
# get_children() rather than children to strip privates from public parents
|
||||
for course1_item_child in expected_item.get_children()
|
||||
for expected_item_child in expected_item.get_children()
|
||||
]
|
||||
actual_children = [
|
||||
(item_child.location.block_type, item_child.location.block_id)
|
||||
|
||||
Reference in New Issue
Block a user