Commit 9cc796df by Chris Dodge

fix one more 'revision' -> 'branch' argument name change

parent 7a80a9c0
......@@ -300,7 +300,7 @@ class SplitModuleItemTests(SplitModuleTest):
locator = BlockUsageLocator(course_id="wonderful", usage_id="head23456", branch='draft')
self.assertTrue(modulestore().has_item(locator.course_id, BlockUsageLocator(course_id=locator.course_id,
usage_id=locator.usage_id,
revision='published')),
branch='published')),
"couldn't find in 23456")
locator.branch = 'published'
self.assertTrue(modulestore().has_item(course_id, locator), "couldn't find in 23456")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment