'Make sure that the new child of the LibraryContent block
shares its definition with the original (self.problem).
This test is specific to split mongo.'

def test_consistent_definitions(self):

    definition_id = self.problem.definition_locator.definition_id
    self.assertEqual(self.problem_in_course.definition_locator.definition_id, definition_id)
    self.problem.weight = 20
    self.problem.display_name = 'NEW'
    modulestore().update_item(self.problem, self.user.id)
    self.lc_block = self._refresh_children(self.lc_block)
    self.problem_in_course = modulestore().get_item(self.problem_in_course.location)
    self.assertEqual(self.problem.definition_locator.definition_id, definition_id)
    self.assertEqual(self.problem_in_course.definition_locator.definition_id, definition_id)
