Work around for split not having a coherent way to work with/track updated versions of structures
This commit is contained in:
@@ -208,8 +208,6 @@ class TemplateTests(unittest.TestCase):
|
||||
# The draft course root has 2 revisions: the published revision, and then the subsequent
|
||||
# changes to the draft revision
|
||||
version_history = self.split_store.get_block_generations(test_course.location)
|
||||
# Base calculations on the draft revision, not the initial published revision
|
||||
version_history = version_history.children[0]
|
||||
self.assertEqual(version_history.locator.version_guid, test_course.location.version_guid)
|
||||
self.assertEqual(len(version_history.children), 1)
|
||||
self.assertEqual(version_history.children[0].children, [])
|
||||
|
||||
Reference in New Issue
Block a user